Skip to content

[BEAM-3301] (Go SDK) Adding restriction plumbing to graph construction.#10801

Merged
youngoli merged 1 commit intoapache:masterfrom
youngoli:sdf-implementation
Feb 8, 2020
Merged

[BEAM-3301] (Go SDK) Adding restriction plumbing to graph construction.#10801
youngoli merged 1 commit intoapache:masterfrom
youngoli:sdf-implementation

Conversation

@youngoli
Copy link
Contributor

@youngoli youngoli commented Feb 8, 2020

This adds some plumbing that retrieves the restriction type from DoFns, gets a coder for that type, and stores it with ParDos, and ultimately it adds the restriction coder to the translated proto. However, the code for finding the restriction type is unimplemented since we don't have SDFs yet, so this change doesn't do anything concrete yet.

Left TODOs as reminders of future work that needs to be done.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • 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.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- Build Status --- --- Build Status
Java Build Status Build Status Build Status Build Status
Build Status
Build Status
Build Status Build Status Build Status
Build Status
Build Status
Python Build Status
Build Status
Build Status
Build Status
--- Build Status
Build Status
Build Status
Build Status
--- --- Build Status
XLang --- --- --- Build Status --- --- ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website
Non-portable Build Status Build Status
Build Status
Build Status Build Status
Portable --- Build Status --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

This adds some plumbing that retrieves the restriction type from DoFns,
gets a coder for that type, and stores it with ParDos, and ultimately
it adds the restriction coder to the translated proto. However, the
code for finding the restriction type is unimplemented since we don't
have SDFs yet, so this change doesn't do anything concrete yet.

Left TODOs as reminders of future work that needs to be done.
@youngoli
Copy link
Contributor Author

youngoli commented Feb 8, 2020

R: @lostluck

@lostluck
Copy link
Contributor

lostluck commented Feb 8, 2020

LGTM. Please merge if the tests pass.

@youngoli youngoli merged commit 9643a57 into apache:master Feb 8, 2020
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