Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-21968

Calcite parser doesn't support to parse "-- test"

    XMLWordPrintableJSON

Details

    Description

      Please add a test in the FlinkSqlParserImplTest.java.

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

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

      ExtendedParseStrategy is introduced in the FLINK-21836

      Attachments

        Activity

          People

            Unassigned Unassigned
            fsk119 Shengkai Fang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: