Skip to content

Commit b0d622a

Browse files
committed
Serialization version 2 and below removed
Signed-off-by: jyejare <[email protected]>
1 parent 6a1b33a commit b0d622a

File tree

86 files changed

+175
-191
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+175
-191
lines changed

docs/getting-started/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ provider: local
113113
online_store:
114114
type: sqlite
115115
path: data/online_store.db
116-
entity_key_serialization_version: 2
116+
entity_key_serialization_version: 3
117117
```
118118
{% endtab %}
119119

docs/how-to-guides/entity-reserialization-of-from-v2-to-v3.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# Entity Key Re-Serialization from Version 2 to 3
1+
# Entity Key Serialization from Version 2 to Version 3
22

3-
Entity Key Serialization version 2 will soon be deprecated, hence we need to shift the serialization and deserilization to version 3.
3+
Entity Key Serialization version 2 is now deprecated. All new and existing Feast deployments should shift to using serialization version 3.
44

5-
But here comes the challegnge where existing FeatuteViews on stores has written features with version 2. A version 2 serialized entity key cant be retrived using version 3 deserilization algorithm.
5+
However, a challenge arises when existing FeatureViews in online or offline stores have written features with version 2. A version 2 serialized entity key cannot be retrieved using the version 3 deserialization algorithm.
66

77
## Reserialize the Feature Views entity Keys to version 3
88

99
The solution is to reserialize the entity keys from version 2 to version 3.
1010

1111
Follow the following procedures to reserialize the entity key to version 3 in feature View in an offline / online store.
1212

13-
In hosrt, you need to iterate through all the feature views in your Feast repository, retrieve their serialized entity keys (if stored in version 2), reserialize them to version 3, and then update the online/offline store or wherever the serialized keys are stored.
13+
In short, you need to iterate through all the feature views in your Feast repository, retrieve their serialized entity keys (if stored in version 2), reserialize them to version 3, and then update the online/offline store or wherever the serialized keys are stored.
1414

1515
### 1. Initialize the Feature Store
1616

docs/how-to-guides/running-feast-in-production.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def materialize(data_interval_start=None, data_interval_end=None):
8888
provider="aws",
8989
offline_store="file",
9090
online_store=DynamoDBOnlineStoreConfig(region="us-west-2"),
91-
entity_key_serialization_version=2
91+
entity_key_serialization_version=3
9292
)
9393
store = FeatureStore(config=repo_config)
9494
# Option 1: materialize just one feature view

docs/how-to-guides/starting-feast-servers-tls-mode.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ online_store:
8383
path: http://localhost:6566
8484
type: remote
8585
cert: /path/to/cert.pem
86-
entity_key_serialization_version: 2
86+
entity_key_serialization_version: 3
8787
auth:
8888
type: no_auth
8989
```
@@ -121,7 +121,7 @@ online_store:
121121
path: http://localhost:6566
122122
type: remote
123123
cert: /path/to/cert.pem
124-
entity_key_serialization_version: 2
124+
entity_key_serialization_version: 3
125125
auth:
126126
type: no_auth
127127
```
@@ -161,7 +161,7 @@ online_store:
161161
path: http://localhost:6566
162162
type: remote
163163
cert: /path/to/cert.pem
164-
entity_key_serialization_version: 2
164+
entity_key_serialization_version: 3
165165
offline_store:
166166
type: remote
167167
host: localhost

docs/reference/batch-materialization/spark.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ repo_config = RepoConfig(
4747
"partitions": 10
4848
},
4949
online_store=DynamoDBOnlineStoreConfig(region="us-west-1"),
50-
entity_key_serialization_version=2
50+
entity_key_serialization_version=3
5151
)
5252

5353
store = FeatureStore(config=repo_config)

docs/reference/feast-cli-commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ online_store:
7979
path: data/online_store.db
8080
offline_store:
8181
type: dask
82-
entity_key_serialization_version: 2
82+
entity_key_serialization_version: 3
8383
auth:
8484
type: no_auth
8585
```

docs/reference/online-stores/couchbase.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ online_store:
4444
password: password # Couchbase password from access credentials
4545
bucket_name: feast # Couchbase bucket name, defaults to feast
4646
kv_port: 11210 # Couchbase key-value port, defaults to 11210. Required if custom ports are used.
47-
entity_key_serialization_version: 2
47+
entity_key_serialization_version: 3
4848
```
4949
{% endcode %}
5050

docs/reference/online-stores/remote.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ online_store:
1717
path: http://localhost:6566
1818
type: remote
1919
cert: /path/to/cert.pem
20-
entity_key_serialization_version: 2
20+
entity_key_serialization_version: 3
2121
auth:
2222
type: no_auth
2323
```

examples/java-demo/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# Running Feast Java Server with Redis & calling with python (with registry in GCP)
32

43
For this tutorial, we setup Feast with Redis, using the Feast CLI to register and materialize features, and then retrieving via a Feast Java server deployed in Kubernetes via a gRPC call.
@@ -40,7 +39,7 @@ For this tutorial, we setup Feast with Redis, using the Feast CLI to register an
4039
connection_string: localhost:6379,password=[YOUR PASSWORD]
4140
offline_store:
4241
type: file
43-
entity_key_serialization_version: 2
42+
entity_key_serialization_version: 3
4443
```
4544
4. Run `feast apply` to apply your local features to the remote registry
4645
- Note: you may need to authenticate to gcloud first with `gcloud auth login`
@@ -86,7 +85,7 @@ For this tutorial, we setup Feast with Redis, using the Feast CLI to register an
8685
>2. `make build-java-docker-dev`
8786
>3. In the `application-override.yaml`, uncomment the two `image: tag: dev` blocks
8887
>4. `helm install feast-release ../../../infra/charts/feast --values application-override.yaml`
89-
5. (Optional): check logs of the server to make sure its working
88+
5. (Optional): check logs of the server to make sure it's working
9089
```bash
9190
kubectl logs svc/feast-release-feature-server
9291
```

examples/java-demo/feature_repo/application-override.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ feature-server:
1010
host: my-redis-master
1111
port: 6379
1212
password: [YOUR PASSWORD]
13-
entityKeySerializationVersion: 2
13+
entityKeySerializationVersion: 3
1414
# Uncomment below for dev
1515
# image:
1616
# tag: dev

0 commit comments

Comments
 (0)