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

Fix Python SDK ingestion for featureset name that exist in multiple projects #868

Merged
merged 5 commits into from
Jul 26, 2020

Conversation

terryyylim
Copy link
Member

@terryyylim terryyylim commented Jul 9, 2020

What this PR does / why we need it:
Current, Python SDK client will always ingest into default project's featureset, even if project is known in FeatureSet object.

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

Fixed a bug where the default project was always selected during ingestion from Python SDK

@terryyylim
Copy link
Member Author

/retest

>>> "rating": [4.3],
>>> }
>>> )
>>> client.ingest("project1:driver", fs_df)
Copy link
Member

Choose a reason for hiding this comment

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

project:feature_set is not a valid feature reference. It would be better to have a project key on the method, or even look at the project that the user has configured in their environment.

@woop
Copy link
Member

woop commented Jul 13, 2020

All bug fixes need release notes. Also, please dont use Bugfix: in the title. That is what kind is for.

Finally, you also need to have tests to ensure that this functionality is working.

@terryyylim terryyylim changed the title Bugfix: Fix Python SDK ingestion for featureset name that exist in multiple projects Fix Python SDK ingestion for featureset name that exist in multiple projects Jul 14, 2020
@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

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

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

@pyalex
Copy link
Collaborator

pyalex commented Jul 23, 2020

/lgtm

@feast-ci-bot feast-ci-bot removed the lgtm label Jul 26, 2020
@feast-ci-bot
Copy link
Collaborator

New changes are detected. LGTM label has been removed.

@woop woop merged commit d46e008 into feast-dev:master Jul 26, 2020
@mrzzy mrzzy mentioned this pull request Aug 2, 2020
pyalex pushed a commit that referenced this pull request Aug 2, 2020
* Fix ingestion with same featureset name

* Address PR comments

* Remove unrelated test

* Remove unnecessary line

Co-authored-by: Terence <terence.limxp@go-jek.com>
Co-authored-by: Willem Pienaar <6728866+woop@users.noreply.github.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.

4 participants