Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-9016

Select transform (Schema-based) result order is not predictable

Details

    • Bug
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • sdk-java-core

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            yangzhang Yang Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: