You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yubin Li (Jira)" <ji...@apache.org> on 2021/11/02 08:44:00 UTC
[jira] [Updated] (FLINK-24730) Support prompt in SqlCli
[ https://issues.apache.org/jira/browse/FLINK-24730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yubin Li updated FLINK-24730:
-----------------------------
Description:
prompt is a very popular function in cli of traditional database like mysql, help users to notice session context like current db/catalog/time, avoid calling wrong commands in an unexpected session.
||arg||comment||
|\c|current catalog|
|\d|current db|
|\t|current time|
for example,
FLINK SQL> set prompt=\c~\d~\t;
catalog1~db1~2021-11-12 16:00:00> show current catalog;
was:
prompt is a very popular function in cli of traditional database like mysql, help users to notice session context like current db/catalog/time, avoid calling wrong commands in an unexpected session.
||arg||comment||
|\c|current catalog|
|\d|current db|
|\t|current time|
for example,
FLINK SQL> set prompt=\c~\d~\t;
catalog1~db1~2021-11-12 16:00:00> show current catalog;
> Support prompt in SqlCli
> ------------------------
>
> Key: FLINK-24730
> URL: https://issues.apache.org/jira/browse/FLINK-24730
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Client
> Affects Versions: 1.15.0
> Reporter: Yubin Li
> Priority: Major
>
> prompt is a very popular function in cli of traditional database like mysql, help users to notice session context like current db/catalog/time, avoid calling wrong commands in an unexpected session.
>
> ||arg||comment||
> |\c|current catalog|
> |\d|current db|
> |\t|current time|
> for example,
> FLINK SQL> set prompt=\c~\d~\t;
> catalog1~db1~2021-11-12 16:00:00> show current catalog;
--
This message was sent by Atlassian Jira
(v8.3.4#803005)