feat: Pass requested On-Demand Feature Views to Provider get_historical_features#5803
feat: Pass requested On-Demand Feature Views to Provider get_historical_features#5803Shizoqua wants to merge 5 commits intofeast-dev:masterfrom
get_historical_features#5803Conversation
e63b40b to
b2d82b6
Compare
get_historical_featuresFeatureStore.get_historical_features()
FeatureStore.get_historical_features()get_historical_features
get_historical_featuresget_historical_features
|
Good day @franciscojavierarceo |
0458b97 to
1501fd4
Compare
|
Good day @franciscojavierarceo |
1 similar comment
|
Good day @franciscojavierarceo |
|
Hello, |
|
Can you explain why you need this argument? |
The new
Passing |
Although I don’t fully support this ad hoc change, since it’s not user-facing, I’m okay with approving it. Could you please add a TODO and create a follow-up issue to flag it for a proper long-term fix? |
Okay, I'm on it now |
Added a TODO in FeatureStore.get_historical_features to flag this as an interim interface change. I’ve also open a follow-up issue to track a proper long-term cleanup of the historical retrieval Provider API (request object / clearer contract) and will link it here once created. |
Signed-off-by: Shizoqua <[email protected]>
Signed-off-by: Shizoqua <[email protected]>
Signed-off-by: Shizoqua <[email protected]>
Signed-off-by: Shizoqua <[email protected]>
Signed-off-by: Shizoqua <[email protected]>
0bc17e6 to
970cd02
Compare
|
Hello, |
Summary
This PR fixes an interface/plumbing gap in historical retrieval by explicitly passing the requested On-Demand Feature Views (ODFVs) from FeatureStore.get_historical_features() into the provider’s get_historical_features() implementation.
What changed
on_demand_feature_views: List[OnDemandFeatureView]Why
Providers may need the explicit set of requested ODFVs to correctly handle or route historical retrieval logic. Previously, only the combined feature_views list was passed, which made it awkward/impossible for providers to distinguish which ODFVs were requested.
Testing