mchades commented on code in PR #9502:
URL: https://github.com/apache/gravitino/pull/9502#discussion_r2638708841
##########
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:
Can we directly use the capability interface here?
https://github.com/apache/gravitino/blob/7a83832a4732c523f44c2ca6772154224c54848e/core/src/main/java/org/apache/gravitino/connector/capability/Capability.java#L85-L93
--
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]