beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tgroh <>
Subject [GitHub] beam pull request #2006: [BEAM-646] Get the #apply out of the DirectRunner
Date Tue, 14 Feb 2017 21:58:22 GMT
GitHub user tgroh opened a pull request:

    [BEAM-646] Get the #apply out of the DirectRunner

    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
     - [ ] Make sure the PR title is formatted like:
       `[BEAM-<Jira issue #>] Description of pull request`
     - [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable
           Travis-CI on your fork and ensure the whole test matrix passes).
     - [ ] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [ ] If this contribution is large, please file an Apache
           [Individual Contributor License Agreement](
    Use the Graph Surgery API in the DirectRunner.
    The Forwarding View is currently required to ensure that the `WriteView` transform
    is marked as the producer of the View proper. It is then replaced by the original view,
    so the Pipeline writes the view to the correct location.
    I'm going to revisit the producer-marking code soon, but this is safe to review.
    I also missed invariant maintenance within TransformHierarchy within #1998,
    so that's added here as well.

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

    $ git pull surgery_ish

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 #2006
commit 46543d75a92b8c6c19b55581ec8253ffd76f4058
Author: Thomas Groh <>
Date:   2017-02-09T19:37:33Z

    Return a Forwarding View in View Overrides
    This ensures that replacing an output will not fail to mark the
    overridden view as produced by the replacement transform.

commit e950ba71d7cc6910c6be7dd39576bca3c96287de
Author: Thomas Groh <>
Date:   2017-02-14T21:56:07Z

    Add the replacement input to Unexpanded Inputs

commit a8bf815ea4f0ff3bc9701936cd1547d222eafebc
Author: Thomas Groh <>
Date:   2017-02-09T19:45:06Z

    Use Graph Surgery in the DirectRunner
    Remove DirectRunner#apply(). This migrates the DirectRunner to work on a
    runner-agnostic graph.


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