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

Feast SDK integration for historical feature retrieval using Spark #1054

Merged
merged 3 commits into from
Oct 15, 2020

Conversation

khorshuheng
Copy link
Collaborator

What this PR does / why we need it:
Add historical feature retrieval job back to the Feast client again.

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:


sdk/python/feast/pyspark/launcher.py Outdated Show resolved Hide resolved
}


def start_historical_feature_retrieval_spark_session(
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not 100% follow what is this for? I'd expect this to be within the local launcher as it assumes that you have Spark env setup.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This function is useful for cases where, the user has their own SparkSession, in a jupyter notebook for example. In such case, it might be more convenient to return a Spark dataframe, rather than the actual output.

@khorshuheng khorshuheng force-pushed the sdk-historical-retrieval branch 3 times, most recently from 8df72d2 to 9c4f1cc Compare October 15, 2020 08:27
@khorshuheng khorshuheng changed the title (WIP) Feast SDK integration for historical feature retrieval using Spark Feast SDK integration for historical feature retrieval using Spark Oct 15, 2020
@khorshuheng khorshuheng added the kind/feature New feature or request label Oct 15, 2020
@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

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

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 Oct 15, 2020

/lgtm

@feast-ci-bot feast-ci-bot merged commit e8b24bb into feast-dev:master Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants