Brian Hulette created BEAM-11937:
------------------------------------

             Summary: SqlTransform: projecting field from array of rows does 
not work
                 Key: BEAM-11937
                 URL: https://issues.apache.org/jira/browse/BEAM-11937
             Project: Beam
          Issue Type: Bug
          Components: dsl-sql
            Reporter: Brian Hulette


For an input with type:
{code}
f_int: INT32
f_array: ARRAY<ROW<f_nestedString: STRING, f_nestedInt: INT32>>
{code}

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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to