[
https://issues.apache.org/jira/browse/BEAM-11784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17282056#comment-17282056
]
Kenneth Knowles commented on BEAM-11784:
----------------------------------------
[https://github.com/apache/beam/blob/595c25263638b3d5624875e46b69a442cedb09a7/runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/PipelineTranslation.java#L58]
uses a HashSet
> Java pipeline proto serialization does not ensure topological ordering of
> root transforms
> -----------------------------------------------------------------------------------------
>
> Key: BEAM-11784
> URL: https://issues.apache.org/jira/browse/BEAM-11784
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Reporter: Kenneth Knowles
> Assignee: Kenneth Knowles
> Priority: P1
>
> Seen these root orders when running {{ImpulseTest.testImpulse}}:
> - {{["Impulse", "PAssert$0", "FlatMapElements"]}}
> - {{["FlatMapElements", "PAssert$0", "Impulse"]}}
> Pipeline is:
> {code}
> PCollection<Integer> result =
> p.apply(Impulse.create())
> .apply(
> FlatMapElements.into(TypeDescriptors.integers())
> .via(impulse -> Arrays.asList(1, 2, 3)));
> PAssert.that(result).containsInAnyOrder(1, 2, 3);
> {code}
> The topological order is linear and is neither of the above.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)