YuangGao opened a new pull request, #3802:
URL: https://github.com/apache/iceberg-rust/pull/3802

   ## Which issue does this PR close?
   
   - Closes #3801.
   
   ## What changes are included in this PR?
   
   - Read `namespace-separator` from the merged catalog properties, defaulting 
to `%1F`. Path segments percent-encode each namespace level (RFC 3986) and join 
them with the separator as is; the `parent` query parameter joins raw levels 
with the decoded separator, so it's encoded only once. This matches the Java 
client and pyiceberg.
   - An empty separator, or one that doesn't decode to UTF-8, fails catalog 
initialization.
   - `NamespaceIdent::to_url_string()` is unchanged. Table names are still not 
encoded, which can be a follow-up.
   
   ## Are these changes tested?
   
   - Unit tests: endpoints with the default and a server-advertised `%2E` 
separator, levels containing ` `, `/`, `%`; `parent` sent as `a.b`, not 
`a%252Eb`; invalid separators.
   - Against `apache/iceberg-rest-fixture:latest` (Jetty 12, `%2E`), 
`rest_pagination_test` and the REST `namespace_suite` fail on main and pass 
here; everything still passes on `1.10.1`. CI stays pinned to `1.10.1`.
   
   ## AI Disclosure
   - AI-assisted implementation.
   


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

Reply via email to