You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "eickler (via GitHub)" <gi...@apache.org> on 2025/12/29 15:02:22 UTC
[I] MemoryCatalog returns relative namespace identifiers rather than absolute [iceberg-rust]
eickler opened a new issue, #1969:
URL: https://github.com/apache/iceberg-rust/issues/1969
### Apache Iceberg Rust version
None
### Describe the bug
Other implementations of `list_namespace(parent)` return absolute namespace identifiers. For example, if there is a namespace `b` under `a`, `list_namespace("a")` should return `NamespaceIdent::from_strs(vec!["a", "b"])`. This is documented in the [REST OpenAPI spec](https://github.com/apache/iceberg/blob/4632f3133efbf6b8232ed9526de7142fd50e1aa6/open-api/rest-catalog-open-api.yaml#L251), the [Java implementation](https://iceberg.apache.org/javadoc/1.10.1/org/apache/iceberg/catalog/SupportsNamespaces.html#loadNamespaceMetadata(org.apache.iceberg.catalog.Namespace)) and, in this repo, in [SqlCatalog](https://github.com/apache/iceberg-rust/blob/99ca196a7a81343ac35d993d9db2ec59c626f389/crates/catalog/sql/src/catalog.rs#L1396).
MemoryCatalog returns relative identifiers, as can be seen [here](https://github.com/apache/iceberg-rust/blob/99ca196a7a81343ac35d993d9db2ec59c626f389/crates/iceberg/src/catalog/memory/catalog.rs#L597). To make MemoryCatalog mimick real implementations better, the behaviour should be fixed.
### To Reproduce
Current behaviour is demonstrated in a [MemoryCatalog unit test](https://github.com/apache/iceberg-rust/blob/99ca196a7a81343ac35d993d9db2ec59c626f389/crates/iceberg/src/catalog/memory/catalog.rs#L597).
### Expected behavior
Desired behaviour is demonstrated in the matching [SqlCatalog unit test](https://github.com/apache/iceberg-rust/blob/99ca196a7a81343ac35d993d9db2ec59c626f389/crates/catalog/sql/src/catalog.rs#L1396).
### Willingness to contribute
I can contribute a fix for this bug independently
--
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-unsubscribe@iceberg.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] MemoryCatalog returns relative namespace identifiers rather than absolute [iceberg-rust]
Posted by "liurenjie1024 (via GitHub)" <gi...@apache.org>.
liurenjie1024 closed issue #1969: MemoryCatalog returns relative namespace identifiers rather than absolute
URL: https://github.com/apache/iceberg-rust/issues/1969
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org