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


##########
core/src/main/java/org/apache/gravitino/catalog/CatalogManager.java:
##########
@@ -893,6 +894,19 @@ private boolean getCatalogInUseValue(EntityStore store, 
NameIdentifier catalogId
     }
   }
 
+  private boolean isManagedStorageCatalog(CatalogWrapper catalogWrapper) {
+    try {
+      Capability capability = catalogWrapper.capabilities();
+      return capability.managedStorage(Capability.Scope.SCHEMA).supported()
+          && (capability.managedStorage(Capability.Scope.TABLE).supported()
+              || 
capability.managedStorage(Capability.Scope.FILESET).supported()
+              || 
capability.managedStorage(Capability.Scope.MODEL).supported());

Review Comment:
   This is intentionally not supported, Kafka topic is not a managed entity in 
Gravitino, so we should not add here.



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