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

Tests for transformation service integration in java feature server #2236

Merged
merged 2 commits into from
Jan 26, 2022

Conversation

pyalex
Copy link
Collaborator

@pyalex pyalex commented Jan 24, 2022

Signed-off-by: pyalex moskalenko.alexey@gmail.com

What this PR does / why we need it:

To keep the transformation functionality in Java FS alive.

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

none

Signed-off-by: pyalex <moskalenko.alexey@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Jan 24, 2022

Codecov Report

Merging #2236 (a3265b9) into master (62fae05) will increase coverage by 0.28%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2236      +/-   ##
==========================================
+ Coverage   84.92%   85.21%   +0.28%     
==========================================
  Files         105      106       +1     
  Lines        8498     8568      +70     
==========================================
+ Hits         7217     7301      +84     
+ Misses       1281     1267      -14     
Flag Coverage Δ
integrationtests 72.61% <ø> (-0.78%) ⬇️
unittests 60.25% <ø> (+0.53%) ⬆️

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

Impacted Files Coverage Δ
sdk/python/feast/feature_service.py 82.35% <0.00%> (-0.99%) ⬇️
sdk/python/feast/feature_store.py 89.42% <0.00%> (-0.42%) ⬇️
sdk/python/feast/registry.py 83.50% <0.00%> (-0.11%) ⬇️
sdk/python/tests/unit/diff/test_fco_diff.py 100.00% <0.00%> (ø)
sdk/python/feast/repo_contents.py 100.00% <0.00%> (ø)
...ts/integration/feature_repos/repo_configuration.py 94.28% <0.00%> (+0.05%) ⬆️
sdk/python/feast/repo_operations.py 52.21% <0.00%> (+3.82%) ⬆️
sdk/python/feast/diff/FcoDiff.py 98.91% <0.00%> (+9.82%) ⬆️

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 62fae05...a3265b9. Read the comment docs.

@@ -77,17 +72,18 @@ public OnlineTransformationService(
@Override
public TransformFeaturesResponse transformFeatures(
TransformFeaturesRequest transformFeaturesRequest) {
if (this.stub == null) {
throw new RuntimeException(
"Transformation service endpoint must be configured to " + "enable this functionality.");
Copy link
Member

@woop woop Jan 26, 2022

Choose a reason for hiding this comment

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

Nit: Do we need this +?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@woop this is fixed

@woop
Copy link
Member

woop commented Jan 26, 2022

/lgtm overall. Just the tiny nitpick.

Signed-off-by: pyalex <moskalenko.alexey@gmail.com>
@feast-ci-bot feast-ci-bot removed the lgtm label Jan 26, 2022
@woop
Copy link
Member

woop commented Jan 26, 2022

/lgtm

@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pyalex, woop

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 b3174c9 into feast-dev:master Jan 26, 2022
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