Anton Kedin created BEAM-4515: --------------------------------- Summary: [SQL] Support Row construction with named fields Key: BEAM-4515 URL: https://issues.apache.org/jira/browse/BEAM-4515 Project: Beam Issue Type: Improvement Components: dsl-sql Reporter: Anton Kedin
Currently Calcite's ROW() constructor only accepts values and doesn't allow names, so `INSERT INTO f_row SELECT ROW('asdfasdf', 'sdfsdfsd')` will fail with something like this: `Cannot assign to target field 'f_row' of type RecordType(VARCHAR f_str1, VARCHAR f_str2) from source field 'f_row' of type RecordType(VARCHAR EXPR$0, VARCHAR EXPR$1)` -- This message was sent by Atlassian JIRA (v7.6.3#76005)