beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkff <>
Subject [GitHub] beam pull request #2455: [BEAM-1903, BEAM-1904] Fixes SDF issues re: waterma...
Date Thu, 06 Apr 2017 22:15:42 GMT
GitHub user jkff opened a pull request:

    [BEAM-1903, BEAM-1904] Fixes SDF issues re: watermarks and stop/resume

    See detailed discussion in document:
    In particular, this PR:
    - Removes DoFn.ProcessContinuation and all the code and tests that handled returning resume()
- from DoFnSignatures, DoFnInvokers, and SplittableParDo and runner hooks, as well as inference
of UnboundedPerElement from the return value.
    - Adds ProcessContext.updateWatermark(), currently allowed to be called only from SDF.
This has surprisingly little impact - basically just a "throw unsupported" implementation
in SimpleDoFnRunner and DoFnTester, and a proper implementation in SDF code
    - Adds RestrictionTracker.checkDone() and unit tests
    Overall this looks much easier of a change than I thought, and should be pretty easy to
    R: @tgroh 

You can merge this pull request into a Git repository by running:

    $ git pull sdf-updates

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2455
commit 77260e65f7bbf8e9e6e8043f4a22848639843ddb
Author: Eugene Kirpichov <>
Date:   2017-04-06T22:07:05Z

    Fixes SDF issues re: watermarks and stop/resume
    See detailed discussion in document:


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message