eric-maynard commented on code in PR #1298:
URL: https://github.com/apache/polaris/pull/1298#discussion_r2026180746


##########
service/common/src/main/java/org/apache/polaris/service/catalog/generic/GenericTableCatalogHandler.java:
##########
@@ -77,7 +77,7 @@ public ListGenericTablesResponse listGenericTables(Namespace 
parent) {
     authorizeBasicNamespaceOperationOrThrow(op, parent);
 
     return ListGenericTablesResponse.builder()
-        .setIdentifiers(new 
TreeSet<>(genericTableCatalog.listGenericTables(parent)))
+        .setIdentifiers(new 
LinkedHashSet<>(genericTableCatalog.listGenericTables(parent)))

Review Comment:
   We should prefer to preserve the existing order, not necessarily to sort by 
name



-- 
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: issues-unsubscr...@polaris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to