You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Nicholas Jiang (Jira)" <ji...@apache.org> on 2021/06/26 04:27:00 UTC

[jira] [Commented] (FLINK-23017) HELP in sql-client still shows the removed SOURCE functionality

    [ https://issues.apache.org/jira/browse/FLINK-23017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17369798#comment-17369798 ] 

Nicholas Jiang commented on FLINK-23017:
----------------------------------------

[~jark], I would like to take this ticket and could you please assign this issue to me?

> HELP in sql-client still shows the removed SOURCE functionality
> ---------------------------------------------------------------
>
>                 Key: FLINK-23017
>                 URL: https://issues.apache.org/jira/browse/FLINK-23017
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Client
>    Affects Versions: 1.13.1
>            Reporter: Daniel Lenz
>            Priority: Minor
>
> 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.
>  
> {code:java}
> /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
> {code}
>  
>  I'd be happy to create a PR and remove the relevant lines from the HELP.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)