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

Flink SQL does not support block comment before SET command

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.14.0
    • None
    • Table SQL / API
    • None

    Description

      Flink SQL does not support block comment before SET command.

      A tiny SQL that produces the bug:

       

      /**
       comment
      **/
      SET sql-client.execution.result-mode=TABLEAU;
      SELECT 'hello';

       

      while following SQL works fine:

       

      SET sql-client.execution.result-mode=TABLEAU;
      /**
       comment
      **/
      SELECT 'hello';

       

       

      After I debug Flink source code, I found that EXTENDED_PARSER does not support block comment.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            pensz Zhiwen Sun
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: