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
Commit 8c17033
Browse filesBrowse the repository at this point in the historyBrowse files
Fix ODFV output projection in offline retrieval (feast-dev#6099)
This commit fixes issue feast-dev#6099 where offline retrieval (get_historical_features)
was returning ALL OnDemandFeatureView output features, even when only a subset
was requested, while online retrieval correctly returned only requested features.
Changes:
- Modified RetrievalJob.to_arrow() to filter ODFV outputs based on requested
features from metadata, matching online retrieval behavior
- Added test_odfv_projection to verify the fix and prevent regression
Before this fix:
- Online: features=['odfv:feature_a'] -> returns feature_a only ✓
- Offline: features=['odfv:feature_a'] -> returns feature_a, feature_b, feature_c ✗
After this fix:
- Both online and offline return only the requested features ✓
This ensures schema consistency between training (offline) and serving (online)
pipelines, preventing downstream issues in ML workflows.
Fixesfeast-dev#6099
0 commit comments