jerqi commented on code in PR #9502:
URL: https://github.com/apache/gravitino/pull/9502#discussion_r2638544612
##########
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:
OK, I can push it forward.
After thinking twice, maybe it will be enough to add a property
`CatalogEntity`. But the value of `managed` property should be retrived from
the catalog provider.
If you don't have time, I can help you optimize this point in the next PR.
All is ok for me.
--
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]