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

SqlTransform: projecting field from array of rows does not work

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Won't Fix
    • None
    • Not applicable
    • dsl-sql
    • None

    Description

      For an input with type:

      f_int: INT32
      f_array: ARRAY<ROW<f_nestedString: STRING, f_nestedInt: INT32>>
      

      The query SELECT 1 as `f_int`, f_array[0].f_nestedInt as `f_nestedInt_extracted` FROM PCOLLECTION does not correctly project f_nestedInt_extracted, instead always producing null.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bhulette Brian Hulette
              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