[
https://issues.apache.org/jira/browse/BEAM-9016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17548405#comment-17548405
]
Danny McCormick commented on BEAM-9016:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/20047
> Select transform (Schema-based) result order is not predictable
> ---------------------------------------------------------------
>
> Key: BEAM-9016
> URL: https://issues.apache.org/jira/browse/BEAM-9016
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Reporter: Yang Zhang
> Priority: P3
> Labels: Clarified
>
> pipeline.apply(Select.fieldNames("x", "y"))
> pipeline.apply(Select.fieldNames("a", "b"))
> The returned output order is not predictable. In the above two examples,
> field `x` may return first, while field `a` (also queries in the first place)
> may return in the second place.
>
> Shall we add `withOrderByFieldInsertionOrder` to fieldAccessDescriptor in
> Select PTransform, so that the return order is predictable?
--
This message was sent by Atlassian Jira
(v8.20.7#820007)