[
https://issues.apache.org/jira/browse/BEAM-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17546962#comment-17546962
]
Kenneth Knowles commented on BEAM-4515:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/18773
> [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
> Priority: P3
>
> 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
(v8.20.7#820007)