Skip to content
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

Avoid requesting features from OnlineStore twice #2185

Merged
merged 2 commits into from
Jan 4, 2022

Conversation

judahrand
Copy link
Member

@judahrand judahrand commented Jan 4, 2022

Signed-off-by: Judah Rand 17158624+judahrand@users.noreply.github.com

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #2184

Does this PR introduce a user-facing change?:

None

Signed-off-by: Judah Rand <17158624+judahrand@users.noreply.github.com>
@codecov-commenter
Copy link

codecov-commenter commented Jan 4, 2022

Codecov Report

Merging #2185 (916c96c) into master (e435d92) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2185      +/-   ##
==========================================
+ Coverage   84.57%   84.59%   +0.02%     
==========================================
  Files         102      102              
  Lines        8195     8207      +12     
==========================================
+ Hits         6931     6943      +12     
  Misses       1264     1264              
Flag Coverage Δ
integrationtests 74.29% <100.00%> (-0.25%) ⬇️
unittests 58.98% <37.50%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
sdk/python/feast/feature_store.py 91.48% <100.00%> (+0.09%) ⬆️
sdk/python/feast/infra/online_stores/datastore.py 80.79% <0.00%> (+0.67%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e435d92...916c96c. Read the comment docs.

table_join_keys = [
entity_name_to_join_key_map[entity_name]
for entity_name in fv.entities
feature_deps = [
Copy link
Member

Choose a reason for hiding this comment

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

Trying to follow this code I'm confused what feature_deps means here and what this block of code does.. Any possibility to rename/refactor/add comments?

Copy link
Member Author

Choose a reason for hiding this comment

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

Had another pass at this and caught a case I hadn't considered + added some comments etc. More clear now?

Signed-off-by: Judah Rand <17158624+judahrand@users.noreply.github.com>
Copy link
Member

@achals achals left a comment

Choose a reason for hiding this comment

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

/lgtm

@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: achals, judahrand

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@feast-ci-bot feast-ci-bot merged commit d447db2 into feast-dev:master Jan 4, 2022
@judahrand judahrand deleted the odfv branch January 19, 2022 12:22
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.

ODFV dependencies can be retrieved twice from the OnlineStore
5 participants