[ https://issues.apache.org/jira/browse/FLINK-22787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flink Jira Bot updated FLINK-22787: ----------------------------------- Labels: stale-major (was: ) I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help the community manage its development. I see this issues has been marked as Major but is unassigned and neither itself nor its Sub-Tasks have been updated for 30 days. I have gone ahead and added a "stale-major" to the issue". If this ticket is a Major, please either assign yourself or give an update. Afterwards, please remove the label or in 7 days the issue will be deprioritized. > 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 > Labels: stale-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)