ZENOTME opened a new issue, #1301:
URL: https://github.com/apache/paimon-rust/issues/1301

   ### Search before asking
   
   - [x] I searched in the 
[issues](https://github.com/apache/paimon-rust/issues) and found nothing 
similar.
   
   
   ### Motivation
   
   Some REST catalog deployments can resolve the warehouse from authentication 
or request headers. Supporting these deployments would allow clients to 
initialize a catalog without explicitly configuring a warehouse.
   
   Paimon Rust currently requires a warehouse during REST catalog 
initialization.
   
   ### Solution
   
   Allow REST catalogs to be initialized without an explicit warehouse:
   
   - Omit the `warehouse` query parameter when the option is missing or empty.
   - Honor warehouse configuration returned by the server, following existing 
configuration merge rules.
   - Preserve existing behavior when a warehouse is explicitly configured.
   
   Servers that require an explicit warehouse can continue to reject requests 
that omit it.
   
   ### Anything else?
   
   This proposal only changes REST catalog initialization. It does not change 
table read/write semantics or the behavior of explicitly configured warehouses.
   
   ### Willingness to contribute
   
   - [ ] I'm willing to submit a PR!


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

Reply via email to