[
https://issues.apache.org/jira/browse/FLINK-31105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17689857#comment-17689857
]
Sergey Nuyanzin edited comment on FLINK-31105 at 2/16/23 5:38 PM:
------------------------------------------------------------------
There is a slightly different idea: changing autocompletion.
Right now if a user types first letters and presses tab then it will
autocompleted to the whole command except semicolon. For instance {{EX}} to
{{EXIT}}, {{Q}} to {{QUIT}} and so on.
In this case it is required to explicitly type semicolon before submitting a
command.
The idea is to make autocompletion with semicolon like {{EX}} to {{EXIT;}},
{{Q}} to {{QUIT;}}, {{HE}} to {{HELP;}} only for these commands since there are
not requiring any args .
In this case SQL standard and behavior are satisfied
was (Author: sergey nuyanzin):
There is a slightly different idea: changing autocompletion.
Right now if a user types first letters and presses tab then it will
autocompleted to the whole command except semicolon. For instance {{EX}} to
{{EXIT}}, {{Q}} to {{QUIT}} and so on.
In this case it is required to explicitly type semicolon before submitting a
command.
The idea is to make autocompletion with semicolon like {{EX}} to {{EXIT;}},
{{Q}} to {{QUIT;}}, {{HE}} to {{HELP;}} only for these commands since there are
not requiring any args .
> SqlClient: Make HELP, EXIT and QUIT also work without a semicolon
> -----------------------------------------------------------------
>
> Key: FLINK-31105
> URL: https://issues.apache.org/jira/browse/FLINK-31105
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Client
> Affects Versions: 1.17.0, 1.16.1
> Reporter: Matthias Pohl
> Priority: Minor
> Labels: starter
>
> The special commands {{HELP}}, {{EXIT}}, and {{QUIT}} are not really part of
> the SQL syntax but rather tool-specific commands. Having the requirement to
> have the semicolon follow-up on these commands might not be necessary.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)