Entity Key Serialization (v2 to v3)
Reserialize the Feature Views entity Keys to version 3
1. Initialize the Feature Store
Load the FeatureStore object to access all feature views in your repository.2. Iterate Through Feature Views
Use the list_feature_views() method to retrieve all feature views in the repository.3. Retrieve Serialized Entity Keys
For each feature view, retrieve the serialized entity keys stored in the online/offline store or other storage4. Reserialize Entity Keys
Use the reserialize_entity_v2_key_to_v3 function to convert the serialized keys from version 2 to version 3. Use [entity key encoding utils](https://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/key_encoding_utils.py) function `reserialize_entity_v2_key_to_v3`.5. Update the Online/offline Store
Last updated
Was this helpful?