diqiu50 commented on code in PR #10398:
URL: https://github.com/apache/gravitino/pull/10398#discussion_r2923296690
##########
iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergTableOperations.java:
##########
@@ -552,7 +552,7 @@ private ListTablesResponse filterListTablesResponse(
List<TableIdentifier> filteredIdentifiers = new ArrayList<>();
for (NameIdentifier ident : idents) {
filteredIdentifiers.add(
- TableIdentifier.of(Namespace.of(ident.namespace().level(0)),
ident.name()));
+ TableIdentifier.of(Namespace.of(ident.namespace().level(2)),
ident.name()));
}
Review Comment:
Will this cause an IndexOutOfBounds exception?
--
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]