Skip to content

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

Merged
woop merged 5 commits intofeast-dev:masterfrom
terryyylim:bugfix/py-sdk-ingest
Jul 26, 2020
Merged

Fix Python SDK ingestion for featureset name that exist in multiple projects#868
woop merged 5 commits intofeast-dev:masterfrom
terryyylim:bugfix/py-sdk-ingest

Conversation

@terryyylim
Copy link
Copy Markdown
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
Copy Markdown
Member Author

/retest

>>> "rating": [4.3],
>>> }
>>> )
>>> client.ingest("project1:driver", fs_df)
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

Details 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
Copy Markdown
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
Copy Markdown
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