JingsongLi opened a new pull request, #1530:
URL: https://github.com/apache/paimon-rust/pull/1530

   ### Purpose
   
   When a REST catalog rejects table creation because the destination database 
does not exist, the Rust client reports a missing table. This differs from the 
filesystem catalog and the Java and Python REST clients. Related to 
apache/paimon#10816.
   
   ### Brief change log
   
   Translate a missing resource from the create-table request into 
`DatabaseNotExist` for the target database.
   
   ### Tests
   
   A mocked REST server reproduces the incorrect `TableNotExist` on the 
baseline. The regression exercises table creation with and without `IF NOT 
EXISTS`. All 9 REST catalog unit tests passed, as did formatting and diff 
checks.
   
   ### API and Format
   
   Returns the existing `DatabaseNotExist` error for this case.
   


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