godfreyhe commented on a change in pull request #12934:
URL: https://github.com/apache/flink/pull/12934#discussion_r457185784
##########
File path:
flink-table/flink-sql-client/src/main/java/org/apache/flink/table/client/gateway/Executor.java
##########
@@ -79,13 +79,23 @@
/**
* Lists all registered catalogs.
*/
- List<String> listCatalogs(String sessionid) throws
SqlExecutionException;
+ List<String> listCatalogs(String sessionId) throws
SqlExecutionException;
+
+ /**
+ * List current catalog.
+ */
+ String listCurrentCatalog(String sessionId) throws
SqlExecutionException;
Review comment:
> I don't notice Executor has `executeSql` method...
> Sounds good to clean up these dulicate method as my next work!
I had opened a pr last week
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]