[
https://issues.apache.org/jira/browse/BEAM-11784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kenneth Knowles updated BEAM-11784:
-----------------------------------
Fix Version/s: 2.28.0
Resolution: Fixed
Status: Resolved (was: Open)
> 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
> Labels: stale-assigned
> Fix For: 2.28.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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)