snuyanzin commented on code in PR #22063:
URL: https://github.com/apache/flink/pull/22063#discussion_r1144962410
##########
flink-table/flink-sql-client/src/main/java/org/apache/flink/table/client/cli/CliClient.java:
##########
@@ -307,6 +314,26 @@ private LineReader createLineReader(Terminal terminal,
ExecutionMode mode) {
terminal.writer().println(msg);
LOG.warn(msg);
}
+ if (mode == ExecutionMode.INTERACTIVE_EXECUTION) {
+ lineReader.setVariable(
+ COLOR_SCHEMA_VAR,
+ executor.getSessionConfig()
Review Comment:
yes, that was the initial idea to use widgets (JLine functionality allowing
binding some simple actions to key strokes).
I will remove it in favor to use table config options only
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]