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

   ### Purpose
   
   After a row is deleted with a deletion vector, the filesystem catalog can 
save an alteration that disables deletion vectors. Readers then return the 
deleted row. Apache Paimon added protection for deletion-vector mode changes in 
apache/paimon#10856.
   
   ### Brief change log
   
   Reject disabling or resetting the enabled mode when a filesystem table has 
snapshots. Keep the existing Data Evolution workflow that enables deletion 
vectors on a populated table. Retained snapshots can still require their 
deletion vectors after a rewrite, so the Java override does not authorize 
disabling the mode in this Rust path.
   
   ### Tests
   
   The baseline regression deleted row 2 from `[1, 2, 3]` and read it again 
after disabling the mode. All 16 predicate-delete tests, 10 historical mutation 
tests, and the existing conditional DataFusion MERGE test passed. Formatting 
and diff checks passed.
   
   ### API and Format
   
   Restricts filesystem catalog ALTER operations that would remove an enabled 
deletion-vector mode from a table with snapshots.
   


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