You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Andrew Pilloud (Jira)" <ji...@apache.org> on 2021/05/11 01:35:00 UTC

[jira] [Commented] (BEAM-4514) [SQL] Enable flattening configuration

    [ https://issues.apache.org/jira/browse/BEAM-4514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17342234#comment-17342234 ] 

Andrew Pilloud commented on BEAM-4514:
--------------------------------------

flattening bugs should be fixed after calcite upgrade.

> [SQL] Enable flattening configuration
> -------------------------------------
>
>                 Key: BEAM-4514
>                 URL: https://issues.apache.org/jira/browse/BEAM-4514
>             Project: Beam
>          Issue Type: Improvement
>          Components: dsl-sql
>            Reporter: Anton Kedin
>            Priority: P3
>
> Currently the calcite projection also flattens the output row in PlannerImpl.
> This causes failure when inserting into a table with a ROW field.
> E.g. `INSERT INTO table (f_row_destination) SELECT f_row_source` will not work, as f_row_source will be flattened into separate fields and won't match the destination schema



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