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


##########
core/src/main/java/org/apache/gravitino/meta/CatalogEntity.java:
##########
@@ -155,6 +156,12 @@ public CatalogInfo 
toCatalogInfoWithResolvedProps(Map<String, String> resolvedPr
         id, name, type, provider, comment, resolvedProperties, auditInfo, 
namespace);
   }
 
+  @Override
+  public boolean managed() {
+    return type == Catalog.Type.FILESET
+        || (type == Catalog.Type.RELATIONAL && 
provider.equalsIgnoreCase("lakehouse-generic"));

Review Comment:
   That's also weird and involves lots of changes. I don't want to introduce a 
heavy refactor just for this fix. If we want to optimize the interface, I would 
like to do this in a new PR.



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