You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Eliminate vector length restrictions in the store #5166
Let's say I have two arrays in a store, the first one of size k and the other one of size m
In the current behavior of Feast, we define in the feature_store.yaml
online_store:
...
vector_len: 64
...
Here k == 64 is the size of the embedding vector that will be used in the online store,
If I want to push to the store an array that isn't of size k == 64 I will get an error even if the array is defined as vector_index=False in the Feature View,
From my perspective, the vector_len parameter needs to be defined per field in a FeatureView, or even not predefined.
Current Behavior
When pushing to a store a vector of size m when m != k where in the feature_repo.yaml defined vector_len: k
an error rise DataException: expected 64 dimensions, not 10
Steps to reproduce
Create feature view and push a vector of size that is different from the defined feature_repo.yaml file
Activity
[-]Vector size is limited per store[/-][+]Eliminate vector length restrictions in the store[/+]franciscojavierarceo commentedon Apr 1, 2025
This is a good first issue. The vector_len is now able to be defined at the Field level like so:
So we can remove this dependency.
franciscojavierarceo commentedon Apr 2, 2025
Realizing now that this is not as straightforward.
Need to update the Field protobuf object to include vector length, sorry I misunderstood the ticket. I need some sleep 😭
jyejare commentedon Apr 9, 2025
/me taking this up.