You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "wangyum (via GitHub)" <gi...@apache.org> on 2026/02/16 15:25:15 UTC

[I] Add delete deduplication optimization for equality deletes in CDC scenarios [iceberg]

wangyum opened a new issue, #15336:
URL: https://github.com/apache/iceberg/issues/15336

   ### Proposed Change
   
   ### Problem
   In Flink CDC workloads, the same row keys are often deleted multiple times within a single checkpoint:
   - Each UPDATE generates DELETE + INSERT in CDC stream
   - Flink processes records one-by-one without batch deduplication opportunity
   - Results in 5-10x more delete records than necessary
   - Creates excessive small delete files, causing NameNode RPC pressure
   
   ### Solution
   Add checkpoint-scoped deduplication caches to skip redundant delete operations:
   - `pendingDeleteKeys`: Deduplicates `deleteKey()` calls (key-only deletes)
   - `pendingDeleteRows`: Deduplicates `delete()` calls (full-row deletes)
   - Caches are cleared when writer closes (memory bounded by checkpoint size)
   - Check-before-copy optimization minimizes object allocations
   
   ### Proposal document
   
   _No response_
   
   ### Specifications
   
   - [ ] Table
   - [ ] View
   - [ ] REST
   - [ ] Puffin
   - [ ] Encryption
   - [ ] Other


-- 
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: issues-unsubscribe@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Add delete deduplication optimization for equality deletes in CDC scenarios [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #15336:
URL: https://github.com/apache/iceberg/issues/15336#issuecomment-5465749454

   This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Add delete deduplication optimization for equality deletes in CDC scenarios [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #15336: Add delete deduplication optimization for equality deletes in CDC scenarios
URL: https://github.com/apache/iceberg/issues/15336


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Add delete deduplication optimization for equality deletes in CDC scenarios [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #15336:
URL: https://github.com/apache/iceberg/issues/15336#issuecomment-5304876154

   This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org