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

Jark Wu commented on FLINK-22787:
---------------------------------

Agree with you [~twalthr].

> Fix parse error when input statement has inline comments
> --------------------------------------------------------
>
>                 Key: FLINK-22787
>                 URL: https://issues.apache.org/jira/browse/FLINK-22787
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Client
>    Affects Versions: 1.13.0
>            Reporter: Shengkai Fang
>            Priority: Major
>
> You can reproduce this problem by using
> {code:java}
> CREATE TABLE test(
>      a INT
> ); -- comment with ;
> {code}
> It might need us to introduce a simple parser to clean up. The parser only 
> has tokens, e.g. identifier, string, comment. In this case, we don't need to 
> rely the grammar in the SqlParser.
>  



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

Reply via email to