-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get features for all entities in online serving? #1361
Comments
@michcio1234 Your requirement is one I have heard before, it's definitely not uncommon. It's one that is very hard for us to support with databases like Dynamo/Bigtable/Redis since it requires scanning over keys or maintaining an index ourselves. We aren't yet sure whether we want to support this functionality ever, although it's one that we are super actively discussing right now. |
This same issue occurs for the get_historical_feature right? |
Yes, the same limitation is on the For what it's worth @michcio1234, there is an active discussion on the Feast mailing list around this functionality. It would be great if you could join that discussion and throw in your 2c. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Is your feature request related to a problem? Please describe.
At inference time I would like to retrieve values of one given feature for all entities stored currently in a feature table, without knowing what IDs the entities have.
E.g. I would like to retrieve
trips_today
for all the drivers that are currently indriver_trips
table.Describe the solution you'd like
Ideally, I could do:
and get
Describe alternatives you've considered
I could hack my way around by having a separate "meta" table which I update every time I add new entities. Something like:
Then I could query this table for a known entity id, get the list of driver ids, and then query my actual feature table for all drivers. But that's a really hacky workaround.
Additional context
I realise it's kind of using Feast as a database. If this is totally out of Feast philosophy, please enlighten me. In such case, what alternative could I use?
Thanks.
The text was updated successfully, but these errors were encountered: