kevinjqliu commented on issue #13388: URL: https://github.com/apache/iceberg/issues/13388#issuecomment-3043162289
> 172.18.0.5 - - [06/Jul/2025:16:21:23 +0000] "GET /v1/namespaces//tables/nyc?snapshots=all HTTP/1.1" 400 70 "-" "Apache-HttpClient/5.4.1 (Java/17.0.14)" that makes sense, the client code failed here https://github.com/apache/iceberg/blob/f3b198de2304c01af9beedf47fcc6edfe8f4f1c7/core/src/main/java/org/apache/iceberg/rest/RESTSessionCatalog.java#L404-L409 Normally, metadata table is addressed with 3 parts. For example, `nyc.tbl.entries`. `nyc` is namespace, `tbl` is the table name, and `entries` is the metadata table name. There are only 2 parts in `nyc.entries`. https://github.com/apache/iceberg/blob/f3b198de2304c01af9beedf47fcc6edfe8f4f1c7/core/src/main/java/org/apache/iceberg/rest/RESTSessionCatalog.java#L407 `identifier.namespace().levels()` produces only the namespace `nyc` `TableIdentifier.of` [removes a level in the namespace](https://github.com/apache/iceberg/blob/f3b198de2304c01af9beedf47fcc6edfe8f4f1c7/api/src/main/java/org/apache/iceberg/catalog/TableIdentifier.java#L36-L42), so `baseIdent` is an empty string leading to the URL serialization issue -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
