mchades commented on code in PR #9574:
URL: https://github.com/apache/gravitino/pull/9574#discussion_r2667032798
##########
core/src/main/java/org/apache/gravitino/catalog/CatalogManager.java:
##########
@@ -756,6 +744,7 @@ public boolean dropCatalog(NameIdentifier ident, boolean
force)
throw new NonEmptyCatalogException(
"Catalog %s has schemas, please drop them first or use force
option", ident);
}
+ catalogWrapper.catalog().checkMetalakeInUse();
Review Comment:
742 line already has a `catalogWrapper`. BTW, 732 line can also be optimized
by the catalog property?
--
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]