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

Support on demand feature views in feature services #1849

Merged
merged 2 commits into from
Sep 10, 2021

Conversation

achals
Copy link
Member

@achals achals commented Sep 10, 2021

Signed-off-by: Achal Shah achals@gmail.com

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

Support on demand feature views in feature services

Signed-off-by: Achal Shah <achals@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Sep 10, 2021

Codecov Report

Merging #1849 (4bec9f6) into master (2d52ce7) will increase coverage by 0.02%.
The diff coverage is 82.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1849      +/-   ##
==========================================
+ Coverage   84.84%   84.87%   +0.02%     
==========================================
  Files          91       91              
  Lines        6924     6961      +37     
==========================================
+ Hits         5875     5908      +33     
- Misses       1049     1053       +4     
Flag Coverage Δ
integrationtests 84.80% <82.50%> (+0.02%) ⬆️
unittests 63.19% <25.00%> (-0.23%) ⬇️

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

Impacted Files Coverage Δ
sdk/python/feast/on_demand_feature_view.py 85.18% <25.00%> (-6.60%) ⬇️
...fline_store/test_universal_historical_retrieval.py 99.12% <93.75%> (-0.88%) ⬇️
sdk/python/feast/feature_service.py 74.64% <100.00%> (+1.79%) ⬆️
...tegration/feature_repos/universal/feature_views.py 96.00% <100.00%> (ø)
.../integration/online_store/test_universal_online.py 100.00% <100.00%> (ø)
sdk/python/feast/registry.py 81.21% <0.00%> (+0.26%) ⬆️
sdk/python/feast/feature_view_projection.py 100.00% <0.00%> (+4.54%) ⬆️

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 2d52ce7...4bec9f6. Read the comment docs.

@achals
Copy link
Member Author

achals commented Sep 10, 2021

/retest


def response_feature_name(feature: str, full_feature_names: bool) -> str:
if (
feature in {"current_balance", "avg_passenger_count", "lifetime_trip_count"}
Copy link
Collaborator

Choose a reason for hiding this comment

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

seems like you only ever call this with conv_rate?

Copy link
Collaborator

Choose a reason for hiding this comment

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

could remove other if blocks if they're not needed

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah I copied over the one from test_universal_online. Removing.

@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

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

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

Signed-off-by: Achal Shah <achals@gmail.com>
@achals achals added the lgtm label Sep 10, 2021
@feast-ci-bot feast-ci-bot merged commit c2c1384 into feast-dev:master Sep 10, 2021
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.

4 participants