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

[BEAM-4150] Extract IO coders from the RemoteGrpcPort. #5700

Merged
merged 2 commits into from
Jun 22, 2018

Conversation

robertwb
Copy link
Contributor


Follow this checklist to help us incorporate your contribution quickly and easily:

  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.

@robertwb robertwb requested a review from lukecwik June 20, 2018 20:24
else:
raise NotImplementedError
data_spec = beam_fn_api_pb2.RemoteGrpcPort(coder_id=coder_id)
Copy link
Member

Choose a reason for hiding this comment

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

The PCollection coder doesn't have the windowing information, you'll need to construct one using the windowing strategies coder otherwise you'll be sending the raw coder across.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In this runner, it actually does. (This doesn't fully fix BEAM-4150, just the worker side and enough of the runner to be compatible.)

Copy link
Member

Choose a reason for hiding this comment

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

Hmm, in that case. LGTM.

@lukecwik
Copy link
Member

Run Python PostCommit

1 similar comment
@robertwb
Copy link
Contributor Author

Run Python PostCommit

@robertwb
Copy link
Contributor Author

Run Python PostCommit

@robertwb robertwb merged commit 0fbbf82 into apache:master Jun 22, 2018
charlesccychen pushed a commit to charlesccychen/beam that referenced this pull request Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants