Shengkai Fang created FLINK-22787: ------------------------------------- Summary: 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
You can reproduce this problem by using {code:java} CREATE TABLE test( a INT ); -- comment with ; {code} It might needs us introduce a simple parser to clean up this problem. 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)