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

DropFields transform doesn't maintain the original order of fields

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 2.14.0, 2.15.0, 2.16.0, 2.17.0, 2.18.0, 2.19.0, 2.20.0, 2.21.0, 2.22.0, 2.23.0, 2.24.0, 2.25.0
    • 2.26.0
    • sdk-java-core

    Description

      DropFields complement method is supposed to maintain the schema's original order but there is Set used instead of List.

      Set<String> fieldNamesToSelect = Sets.newHashSet();

      should be

      List<String> fieldNamesToSelect = newArrayList();

      Attachments

        Issue Links

          Activity

            People

              piotr-szuberski Piotr Szuberski
              piotr-szuberski Piotr Szuberski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h