diqiu50 commented on code in PR #4497:
URL: https://github.com/apache/gravitino/pull/4497#discussion_r1718082454


##########
trino-connector/src/main/java/org/apache/gravitino/trino/connector/system/table/GravitinoSystemTableCatalog.java:
##########
@@ -56,21 +60,34 @@ public GravitinoSystemTableCatalog(CatalogConnectorManager 
catalogConnectorManag
 
   @Override
   public Page loadPageData() {
-    List<GravitinoCatalog> catalogs = catalogConnectorManager.getCatalogs();
-    int size = catalogs.size();
+    List<GravitinoCatalog> gravitinoCatalogs = new ArrayList<>();
+    catalogConnectorManager

Review Comment:
   We have already explained the cause of this bug in the issue. Explaining in 
the code `why not` calling is more strange.
   



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