snuyanzin commented on code in PR #17830:
URL: https://github.com/apache/flink/pull/17830#discussion_r1035040128
##########
flink-table/flink-sql-client/src/main/java/org/apache/flink/table/client/gateway/Executor.java:
##########
@@ -149,4 +149,10 @@ TypedResult<Integer> snapshotResult(String sessionId,
String resultId, int pageS
Optional<String> stopJob(
String sessionId, String jobId, boolean isWithSavepoint, boolean
isWithDrain)
throws SqlExecutionException;
+
+ /** Get current catalog name. */
+ String getCurrentCatalogName(String sessionId);
+
+ /** Get current database name. */
+ String getCurrentDatabaseName(String sessionId);
Review Comment:
from one side yes, however `getCurrentCatalogName` and
`getCurrentDatabaseName` are not a part of default value. It means by default
it will not invoke those methods. These methods will be invoked only once it is
required for the prompt
--
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]