roryqi commented on code in PR #9785:
URL: https://github.com/apache/gravitino/pull/9785#discussion_r2797361845
##########
core/src/main/java/org/apache/gravitino/catalog/CatalogManager.java:
##########
@@ -372,7 +375,13 @@ public Catalog[] listCatalogsInfo(Namespace namespace)
throws NoSuchMetalakeExce
// provider is "fileset", still using "hadoop" will lead to catalog
loading issue. So
// after reading the catalog entity, we convert it to the new
fileset catalog entity.
.map(this::convertFilesetCatalogEntity)
- .map(e -> e.toCatalogInfoWithResolvedProps(getResolvedProperties(e)))
+ .map(
+ e -> {
+ BaseCatalog catalog = getBaseCatalog(e);
+ return new CatalogInfoWithPropertyMeta(
+ e.toCatalogInfoWithResolvedProps(catalog.properties()),
+ catalog.catalogPropertiesMetadata());
Review Comment:
Duplicated.
--
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]