jerryshao commented on code in PR #5761:
URL: https://github.com/apache/gravitino/pull/5761#discussion_r1875786566


##########
core/src/main/java/org/apache/gravitino/catalog/CatalogManager.java:
##########
@@ -677,11 +678,70 @@ public boolean dropCatalog(NameIdentifier ident, boolean 
force)
     } catch (NoSuchMetalakeException | NoSuchCatalogException ignored) {
       return false;
 
-    } catch (IOException e) {
+    } catch (GravitinoRuntimeException e) {
+      throw e;
+
+    } catch (Exception e) {
       throw new RuntimeException(e);
     }
   }
 
+  /**
+   * Check if the given list of schema entities contains any currently 
existing user-created
+   * schemas.
+   *
+   * <p>This method determines if there are valid user-created schemas by 
comparing the provided
+   * schema entities with the actual schemas currently existing in the 
external catalog. It

Review Comment:
   Better changing to "external data source"



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