You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Hongze Zhang (JIRA)" <ji...@apache.org> on 2019/06/06 16:09:00 UTC

[jira] [Updated] (CALCITE-2906) Record DOT extension does not distinguish between simple and compound identifiers

     [ https://issues.apache.org/jira/browse/CALCITE-2906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hongze Zhang updated CALCITE-2906:
----------------------------------
    Fix Version/s: 1.21.0

> Record DOT extension does not distinguish between simple and compound identifiers
> ---------------------------------------------------------------------------------
>
>                 Key: CALCITE-2906
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2906
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Rong Rong
>            Assignee: Danny Chan
>            Priority: Major
>             Fix For: 1.21.0
>
>
> Currently the DOT extensions only supports Simple Identifiers:
> For example:
> * *{{tbl.foo(0).col.bar}}* is parsed as: *{{((`TBL`.`FOO`(0).`COL`).`BAR`)}}*
> However, this is not the case in regular Expression field, for example:
> * *{{tbl.col.bar}}* is parsed as: *{{`TBL`.`COL`.`BAR`}}*
> Parser should support both compound identifier, and simple identifier chain after a record type SqlNode.
> Similarly, parsing should also be consistent for other types of expression, for example
> * *{{tbl.arr[0].foo.bar}}* is currently parsed as: *{{((`TBL`.`ARR`[0].`FOO`).`BAR`)}}*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)