tsreaper opened a new pull request, #1414:
URL: https://github.com/apache/incubator-paimon/pull/1414

   ### Purpose
   
   Currently to retry the commit process after failure, the user has to first 
call `StreamTableCommit#filterCommitted` and then call 
`StreamTableCommit#commit`. This is kind of cumbersome.
   
   This PR merges the two method calls into one 
`StreamTableCommit#filterAndCommit`. Users just need to pass all 
`CommitMessage`s in question into the method and it will automatically choose 
what to commit.
   
   What's more, we are going to support adding partition into Hive metastore in 
the future. By adding the `StreamTableCommit#filterAndCommit` method we can 
check and create our desired partition in this method during retry to ensure 
consistency.
   
   ### Tests
   
   Existing UT/IT should cover this change.
   
   ### API and Format
   
   Yes. It changes the public Java API. `StreamTableCommit#filterCommitted` is 
now deprecated.
   
   ### Documentation
   
   No.
   


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