feat: Add DynamoDB in-place list update support for array-based features by anshishrivastava · Pull Request #5916 · feast-dev/feast
anshishrivastava
changed the title
feat: add DynamoDB in-place list update support for array-based features
Feat: add DynamoDB in-place list update support for array-based features
anshishrivastava
changed the title
Feat: add DynamoDB in-place list update support for array-based features
feat: add DynamoDB in-place list update support for array-based features
anshishrivastava
changed the title
feat: add DynamoDB in-place list update support for array-based features
feat: Add DynamoDB in-place list update support for array-based features
Anshi Shrivastava added 2 commits
This PR adds support for in-place list updates (append/prepend) for array-based features in DynamoDB online store, addressing issue feast-dev#5687. Key changes: - Add update_online_store() and update_online_store_async() methods to FeatureStore for list operations on existing feature values - Implement read-modify-write pattern in DynamoDB store to handle list operations while maintaining compatibility with existing protobuf serialization format - Add comprehensive tests for list append, prepend, mixed operations, and new entity handling The implementation uses a read-modify-write approach because existing data is stored as serialized protobuf bytes, not native DynamoDB lists. This maintains backward compatibility with existing online_read methods. Signed-off-by: Anshi Shrivastava <anshishr@amazon.com>
Per reviewer feedback, removed the synchronous update_online_store method and renamed update_online_store_async to update_online_store. Signed-off-by: Anshi Shrivastava <anshishr@amazon.com>
YassinNouh21 pushed a commit to YassinNouh21/feast that referenced this pull request
…res (feast-dev#5916) Signed-off-by: yassinnouh21 <yassinnouh21@gmail.com>
YassinNouh21 pushed a commit to YassinNouh21/feast that referenced this pull request
…res (feast-dev#5916) Signed-off-by: yassinnouh21 <yassinnouh21@gmail.com>
Shizoqua pushed a commit to Shizoqua/feast that referenced this pull request
…res (feast-dev#5916) Signed-off-by: Shizoqua <hr.lanreshittu@gmail.com>