You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/07/20 08:14:01 UTC
[GitHub] [flink] fsk119 commented on a change in pull request #12934: [FLINK-18616][table sql/api]Add SHOW CURRENT DDLs
fsk119 commented on a change in pull request #12934:
URL: https://github.com/apache/flink/pull/12934#discussion_r457161255
##########
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!
----------------------------------------------------------------
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:
users@infra.apache.org