Guosmilesmile opened a new pull request, #19156:
URL: https://github.com/apache/iceberg/pull/19156

   Stage one of https://github.com/apache/iceberg/issues/19151
   
   All Code https://github.com/apache/iceberg/pull/18448
   
   # What This PR Does
   
   Adds a new configuration option, dv-only-enabled (default: false).
   
   When enabled, the Sink uses a new DvOnlyDeltaWriter that writes data files 
and Deletion Vectors (DVs) without generating Equality Delete files.
   
   Key changes:
   * DvOnlyDeltaWriter: Writes data files and collects two types of information:
   * * deleteKeys: Delete keys that do not match any newly written rows in the 
current checkpoint. These need to be resolved by the primary key index 
downstream.
   * * liveRows: Rows that are still live when the writer completes, including 
their keys and positions, so the downstream index can be updated.
   * Rows written and then deleted within the same checkpoint are marked as 
deleted using DVs.
   * SinkWriteResult: Wraps the existing WriteResult and carries the additional 
deleteKeys and liveRows reports.
   * The default write path remains unchanged and produces no additional 
payload.
   
   # What Is Not Included
   
   The following functionality is intentionally left for future PRs:
   
   * Primary key index and delete resolution.
   * Deletion Vector writer operators.
   * Commit logic, including applying DVs, rebasing against the Sink's previous 
commits, and merging concurrent commits.
   * Pre-flight checks, including format version validation, leftover delete 
files, overwrite mode, unaligned checkpoints, and * batch execution mode.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to