Skip to content
Merged
Prev Previous commit
docs
Signed-off-by: Achal Shah <achals@gmail.com>
  • Loading branch information
achals committed Jul 19, 2022
commit 82259d40d2d200b0701db251162e40c4fccd3a57
2 changes: 1 addition & 1 deletion sdk/python/feast/repo_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class RepoConfig(FeastBaseModel):

go_feature_retrieval: Optional[bool] = False

entity_key_serialization_version: StrictInt = 0
entity_key_serialization_version: StrictInt = 1
""" Entity key serialization version: This version is used to control what serialization scheme is
used when writing data to the online store.
A value <= 1 uses the serialization scheme used by feast up to Feast 0.22.
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/tests/unit/infra/test_key_encoding_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def test_serialize_entity_key():
entity_key_serialization_version=2,
)

Comment thread
achals marked this conversation as resolved.
Outdated
# Old serilization scheme, should fail.
# Old serialization scheme, should fail.
with pytest.raises(BaseException):
serialize_entity_key(
EntityKeyProto(
Expand Down