-
Notifications
You must be signed in to change notification settings - Fork 1.2k
fix: Disable materialized odfvs for historical retrieval #5880
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
base: master
Are you sure you want to change the base?
fix: Disable materialized odfvs for historical retrieval #5880
Conversation
Signed-off-by: lukas.valatka <lukas.valatka@cast.ai>
78ff90f to
c2e42d0
Compare
|
|
||
| [dependency-groups] | ||
| dev = [ | ||
| "pytest-xdist>=3.8.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to ensure parallel test running when needed, handy!
| not test_snowflake" \ | ||
| sdk/python/tests | ||
|
|
||
| test-python-historical-retrieval: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was an untested path before, added
| # TODO(achal): _group_feature_refs returns the on demand feature views, but it's not passed into the provider. | ||
| # This is a weird interface quirk - we should revisit the `get_historical_features` to | ||
| # pass in the on demand feature views as well. | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see the source - only occurs within def get_historical_features(!
|
added some explanations for the context |
|
@ntkathole @franciscojavierarceo seen this? Seems like a quota. |
|
@franciscojavierarceo Seems to have passed now 😁 |
What this PR does / why we need it:
See here. In essence, makes sure ODFV with write_to_online_store=True - meaning, cached - (on-demand feature views) get actually computed when querying offline store (
get_historical_features) for training set generating, since as per docs (and generic expectation), offline stores do not store precomputed on demand feature view historical values (only online stores store their latest values).Which issue(s) this PR fixes:
#5776