slinkydeveloper commented on a change in pull request #18487: URL: https://github.com/apache/flink/pull/18487#discussion_r839622978
########## File path: flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/internal/TableEnvironmentImpl.java ########## @@ -1899,4 +1905,14 @@ public TableResult executeJsonPlan(String jsonPlan) { } return executeInternal(transformations, sinkIdentifierNames); } + + public String[] showConnectors() { + return FactoryUtil.discoverFactories(userClassLoader).stream() + .filter( + t -> + t instanceof DynamicTableSourceFactory + || t instanceof DynamicTableSinkFactory) Review comment: I guess my next question is what about formats? I was wondering, what if the SHOW CONNECTORS returns a table like that? | Name | Type | |-------|--------------| | kafka | source, sink | | csv | format | -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org