You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2020/09/01 17:07:06 UTC

[jira] [Commented] (BEAM-4161) Nested Rows flattening doesn't work

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

Beam JIRA Bot commented on BEAM-4161:
-------------------------------------

This issue was marked "stale-P2" and has not received a public comment in 14 days. It is now automatically moved to P3. If you are still affected by it, you can comment and move it back to P2.

> Nested Rows flattening doesn't work
> -----------------------------------
>
>                 Key: BEAM-4161
>                 URL: https://issues.apache.org/jira/browse/BEAM-4161
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql
>            Reporter: Anton Kedin
>            Priority: P3
>
> Calcite flattens nested rows. It updates the field indices of the flattened row so the fields are referenced correctly in the Rel Nodes. But the fields after the flattened row don't have the indices updated, they have the previous ordinals before the flattening. There is no way to look up the correct index at the point when it reaches Beam SQL Rel Nodes. It will be fixed in Calcite 1.17.
> We need to update the Calcite as soon as it is released and add few integration tests around nested Rows:
>  - basic nesting with fields before and after the row field;
>  - multi-level row nesting;
>  - multiple row fields;
>  
> Calcite JIRA: CALCITE-2220



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