yuzelin commented on code in PR #20438:
URL: https://github.com/apache/flink/pull/20438#discussion_r939669802


##########
flink-table/flink-sql-gateway/src/main/java/org/apache/flink/table/gateway/service/operation/OperationExecutor.java:
##########
@@ -124,6 +130,57 @@ public Set<String> listDatabases(String catalogName) {
                         .listDatabases());
     }
 
+    public Set<TableInfo> listTables(
+            String catalogName, String databaseName, Set<TableKind> 
tableKinds) {
+        if (tableKinds.contains(TableKind.TABLE) && 
tableKinds.contains(TableKind.VIEW)) {

Review Comment:
   Changed to a clearer implementation.



-- 
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]

Reply via email to