You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2020/06/17 21:55:00 UTC

[jira] [Updated] (CALCITE-1875) Get SqlNode's position when parsing SQL that contains parentheses, such as 'a+(b+c)'

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

Julian Hyde updated CALCITE-1875:
---------------------------------
    Summary: Get SqlNode's position when parsing SQL that contains parentheses, such as 'a+(b+c)'  (was: Get sql node's pos error when parse SQL like a+(b+c))

> Get SqlNode's position when parsing SQL that contains parentheses, such as 'a+(b+c)'
> ------------------------------------------------------------------------------------
>
>                 Key: CALCITE-1875
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1875
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Jiatao Tao
>            Assignee: Jiatao Tao
>            Priority: Major
>
> Parse SQL like "select c+(a+b) from t", and the selectList's position is 8 13, and it should be 8 14.
> And I wonder is there any way I can modify the code and solve this problem? Hope for your advice.
> !https://git.oschina.net/Meldoy/image/raw/master/others/WX20170707-103211@2x.png!



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