Skip to content

remove stage_dataframe from the launcher interface - #1220

Merged
oavdeev merged 2 commits into
feast-dev:masterfrom
oavdeev:refactor-stage-dataframe
Dec 10, 2020
Merged

remove stage_dataframe from the launcher interface#1220
oavdeev merged 2 commits into
feast-dev:masterfrom
oavdeev:refactor-stage-dataframe

Conversation

@oavdeev

@oavdeev oavdeev commented Dec 8, 2020

Copy link
Copy Markdown
Collaborator

What this PR does / why we need it:
It was only implemented for EMR anyway. Also now that all upload paths are using the staging client, we can implement this once without having launcher-specific implementations.

Which issue(s) this PR fixes:

Does this PR introduce a user-facing change?:

NONE

Signed-off-by: Oleg Avdeev <oleg.v.avdeev@gmail.com>
@oavdeev

oavdeev commented Dec 8, 2020

Copy link
Copy Markdown
Collaborator Author

/kind housekeeping

def stage_dataframe(df, event_timestamp_column: str, client: "Client") -> FileSource:
launcher = resolve_launcher(client._config)
return launcher.stage_dataframe(df, event_timestamp_column)
def stage_dataframe(df, event_timestamp_column: str, config: Config) -> FileSource:

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.

Can we add a basic description/comment?

Signed-off-by: Oleg Avdeev <oleg.v.avdeev@gmail.com>
@feast-ci-bot

Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

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

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

@woop

woop commented Dec 9, 2020

Copy link
Copy Markdown
Member

/lgtm

@oavdeev
oavdeev merged commit 8256b05 into feast-dev:master Dec 10, 2020
@oavdeev
oavdeev deleted the refactor-stage-dataframe branch December 10, 2020 18:19
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.

3 participants