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

   ## Purpose
   
   Add an experimental RESTCatalog API for atomically publishing APPEND and 
OVERWRITE snapshots across multiple Paimon tables.
   
   ## Implementation
   
   - split FileStoreCommitImpl into prepare, publish, and completion phases
   - add the /v1/{prefix}/transactions/commit REST request and client API
   - validate transaction data files through TableCommitImpl
   - exclude COMPACT from the transaction and commit it best-effort afterwards
   - run normal table maintenance after successful publication
   - keep prepared metadata as orphan files on failed transactions
   - disable automatic HTTP replay for an ambiguous transaction response
   - translate REST transaction errors to catalog exceptions
   
   ## Tests
   
   - mvn -pl paimon-core -am -Pfast-build -DfailIfNoTests=false 
-DwildcardSuites=none -Dtest=MockRESTCatalogTest transaction methods test
   - mvn -pl paimon-api -Pfast-build -DwildcardSuites=none 
-Dtest=HttpClientRetrySafetyTest test
   - mvn -pl paimon-api -Pfast-build -DwildcardSuites=none 
-Dtest=RequestJacksonCompatibilityTest test
   - mvn -pl paimon-core -am -Pfast-build -DfailIfNoTests=false 
-DwildcardSuites=none -Dtest=FileStoreCommitTest test
   - mvn -pl paimon-core -am -DskipTests compile
   


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