You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Anton Kedin (JIRA)" <ji...@apache.org> on 2018/06/07 00:06:00 UTC

[jira] [Created] (BEAM-4515) [SQL] Support Row construction with named fields

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)