Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.15.0
-
None
-
None
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 sql-client.prompt.style=\c~\d~\t;
catalog1~db1~2021-11-12 16:00:00> show current catalog;
Attachments
Issue Links
- is related to
-
FLINK-24893 SQL Client prompt customisation
- Open