lincoln lee created FLINK-32043:
-----------------------------------

             Summary: SqlClient session unrecoverable once one wrong setting 
occurred
                 Key: FLINK-32043
                 URL: https://issues.apache.org/jira/browse/FLINK-32043
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Client
    Affects Versions: 1.17.0
            Reporter: lincoln lee


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

{code}

// 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

{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to