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

SqlClient session unrecoverable once one wrong setting occurred

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.17.0, 1.18.0
    • None
    • Table SQL / Client
    • None

    Description

      In sql client, it can not work normally once one wrong setting occurred

      // wrong setting here
      
      Flink SQL> SET table.sql-dialect = flink;
      [INFO] Execute statement succeed.
      
      Flink SQL> select '' AS f1, a from t1;
      [ERROR] Could not execute SQL statement. Reason:
      java.lang.IllegalArgumentException: No enum constant org.apache.flink.table.api.SqlDialect.FLINK
      
      Flink SQL> SET table.sql-dialect = default;
      [ERROR] Could not execute SQL statement. Reason:
      java.lang.IllegalArgumentException: No enum constant org.apache.flink.table.api.SqlDialect.FLINK
      
      Flink SQL> RESET table.sql-dialect;
      [ERROR] Could not execute SQL statement. Reason:
      java.lang.IllegalArgumentException: No enum constant org.apache.flink.table.api.SqlDialect.FLINK
      
      Flink SQL> RESET;
      [ERROR] Could not execute SQL statement. Reason:
      java.lang.IllegalArgumentException: No enum constant org.apache.flink.table.api.SqlDialect.FLINK 
      

      Attachments

        Issue Links

          Activity

            People

              fsk119 Shengkai Fang
              lincoln.86xy lincoln lee
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: