Skip to content

Conversation

@franciscojavierarceo
Copy link
Member

@franciscojavierarceo franciscojavierarceo commented Oct 10, 2024

What this PR does / why we need it:

This PR updates get_historical_features to return the requested set of features when ODFVs are called as get_online_features.

As outlined in #4479, get_historical_features returns more features than what is requested when an ODFV is requested.

This PR updates:

  1. The tests to verify that get_historical_features when calling an ODFV returns only the fields requested
  2. The tests to verify that an ODFV will result in an error when get_historical_features is called with an entity that does not have data to calculate an ODFV
  3. The code to properly return only the requested features in get_historical_features

Which issue(s) this PR fixes:

#4479

Misc

N/A

Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
Copy link
Collaborator

@HaoXuAI HaoXuAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@franciscojavierarceo franciscojavierarceo enabled auto-merge (squash) October 15, 2024 01:56
@franciscojavierarceo franciscojavierarceo merged commit 95fe8c2 into master Oct 15, 2024
robhowley pushed a commit to robhowley/feast that referenced this pull request Oct 16, 2024
robhowley pushed a commit to robhowley/feast that referenced this pull request Oct 17, 2024
…ne return values (feast-dev#4615)

Signed-off-by: Rob Howley <howley.robert@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants