GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — get_historical_features returns all ODFV output columns even when a single ODFV feature is requested · Issue #6099 · feast-dev/feast Closed Labels DescriptionExpected BehaviorWhen requesting a single feature from an Example: features=["odfv:feature_a"] Expected result: online returns only feature_a offline returns only feature_a The requested feature list should define the output schema consistently across both retrieval paths. Current BehaviorFor OnDemandFeatureViews, offline retrieval via get_historical_features() returns all output columns defined by the ODFV, even when only a single ODFV feature is requested. Example: features=["odfv:feature_a"] Actual result: online returns only feature_a offline returns feature_a, feature_b, feature_c, etc. (all ODFV outputs) This creates a schema inconsistency between online and offline retrieval. Important clarification: Steps to reproduce
store.get_historical_features( entity_df=entity_df, features=["odfv:feature_a"], )
Specifications
Possible Solutionget_historical_features() should honor the requested output feature subset for OnDemandFeatureViews in the same way as online retrieval. If this is intentional behavior, the documentation should explicitly state that offline retrieval for ODFVs returns the full ODFV output schema even when only a subset of ODFV features is requested. However, from a user perspective, consistent projection behavior between online and offline retrieval would be much more intuitive and would prevent schema mismatches in downstream training and serving pipelines. RelatedThis issue appears related to, but different from, a few existing Feast topics: #4479 — OnDemandFeatureViews with RequestSource returns different columns depending on online/offline feature retrieval That issue discusses extra input columns (for example from RequestSource) appearing in offline retrieval. #5890 — Provider get_historical_features API cleanup: remove ad-hoc args and formalize ODFV handling This seems relevant because it explicitly describes historical retrieval for ODFVs as having an unclear contract and mentions that requested ODFVs were historically not passed explicitly through the provider interface. That may be related to why output projection for ODFVs is not handled consistently in the offline path. #5803 — feat: Pass requested On-Demand Feature Views to Provider get_historical_features I have not verified whether this fully addresses the problem described here, but it looks closely related because it passes requested ODFVs explicitly into historical retrieval. Reacted by Bartłomiej Król-Józaga and Karol Kaczmarek Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |