Skip to content

[BEAM-5605] Add support for additional parameters to SplittableDofn methods#10556

Merged
lukecwik merged 3 commits intoapache:masterfrom
lukecwik:splittabledofn5
Jan 13, 2020
Merged

[BEAM-5605] Add support for additional parameters to SplittableDofn methods#10556
lukecwik merged 3 commits intoapache:masterfrom
lukecwik:splittabledofn5

Conversation

@lukecwik
Copy link
Member

This adds PipelineOptions, BoundedWindow, PaneInfo and the elements timestamp as additional valid parameters to SplittableDoFns getInitialRestriction/splitRestriction/newTracker methods.

Note that this is not intended to be the full set of allowed optional parameters.


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.
  • 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.

…ethods

This adds PipelineOptions, BoundedWindow, PaneInfo and the elements timestamp as the valid set of parameters to SplittableDoFns getInitialRestriction/splitRestriction/newTracker methods.
@lukecwik
Copy link
Member Author

R: @youngoli @boyuanzz

Copy link
Contributor

@youngoli youngoli left a comment

Choose a reason for hiding this comment

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

Looks good to me

@lukecwik lukecwik merged commit f2d19fd into apache:master Jan 13, 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