Shengkai Fang created FLINK-21968:
-------------------------------------

             Summary: Calcite parser doesn't support to parse "-- test"
                 Key: FLINK-21968
                 URL: https://issues.apache.org/jira/browse/FLINK-21968
             Project: Flink
          Issue Type: Bug
            Reporter: Shengkai Fang


Please add a test in the {{FlinkSqlParserImplTest.java}}.


{code:java}
    @Test
    public void testParseComment() {
        sql("-- test").ok("-- test");
    }
{code}


I think we can fix this by using regex to clear the string that matches "--.*$";




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

Reply via email to