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

Julian Hyde commented on CALCITE-1875:
--------------------------------------

The fix will be somewhere in Parser.jj. Probably the parser is not taking the 
position of the close-parenthesis into account. Hope that helps.

> Get sql node's pos error when parse SQL like a+(b+c)
> ----------------------------------------------------
>
>                 Key: CALCITE-1875
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1875
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: jiatao.tao
>            Assignee: Julian Hyde
>
> 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-103...@2x.png!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to