Skip to content

Comments

Move the step output ids to use a flat namespace.#1099

Closed
lukecwik wants to merge 3 commits intoapache:masterfrom
lukecwik:flatid
Closed

Move the step output ids to use a flat namespace.#1099
lukecwik wants to merge 3 commits intoapache:masterfrom
lukecwik:flatid

Conversation

@lukecwik
Copy link
Member

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.

Also add a logical mapping from tuple tag to the flat namespace for DoFns.
Note that this is expected to break the Dataflow integration tests until the worker image is updated.

Also add a logical mapping from tuple tag to the flat namespace for DoFns.
@lukecwik
Copy link
Member Author

R: @tgroh

Copy link
Member

@tgroh tgroh left a comment

Choose a reason for hiding this comment

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

LGTM.

Set<Long> uniqueOutputNames = new HashSet<>(outputIds);
outputIds.removeAll(uniqueOutputNames);
assertTrue(String.format("Found duplicate output ids %s", outputIds),
outputIds.size() == 0);
Copy link
Member

Choose a reason for hiding this comment

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

outputIds.isEmpty()

@lukecwik
Copy link
Member Author

Will merge once the mess of issues that Eugene is battling through to get this imported into Google to minimize breaking time till new worker image.

@asfgit asfgit closed this in d69b324 Oct 17, 2016
@lukecwik lukecwik deleted the flatid branch September 26, 2017 22:13
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