Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.13.1
Description
The sql-client still shows the SOURCE command in HELP, even though the command itself doesn't exist anymore and using it causes an error.
/opt/flink# echo "select 'hello';" > test.sql /opt/flink# sql-client.sh Flink SQL> select 'hello'; -- works as intended [INFO] Result retrieval cancelled. Flink SQL> source test.sql; [ERROR] Could not execute SQL statement. Reason: org.apache.calcite.runtime.CalciteException: Non-query expression encountered in illegal context
I'd be happy to create a PR and remove the relevant lines from the HELP.
Attachments
Issue Links
- links to