Open michcio1234 opened 3 years ago
@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?
This same issue occurs for the get_historical_feature right?
Yes, the same limitation is on the get_historical_features()
method, although in that case we are more open to having range scans over an offline store.
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.