JingsongLi commented on code in PR #339:
URL: https://github.com/apache/flink-table-store/pull/339#discussion_r1007734651


##########
flink-table-store-connector/src/main/java/org/apache/flink/table/store/connector/FlinkCatalog.java:
##########
@@ -90,6 +92,17 @@ public boolean databaseExists(String databaseName) throws 
CatalogException {
         return catalog.databaseExists(databaseName);
     }
 
+    @Override
+    public CatalogDatabase getDatabase(String databaseName) throws 
CatalogException {
+        try {
+            Database database = catalog.getDatabase(databaseName);

Review Comment:
   I think we don't need to add `getDatabase` to `Catalog`, just 
`databaseExists` and return a empty `CatalogDatabase` for Flink Catalog is oK.



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