You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ayush Saxena (Jira)" <ji...@apache.org> on 2026/09/09 15:04:00 UTC
[jira] [Resolved] (HIVE-29815) Iceberg: [V3] Support ROW LINEAGE in Copy-On-Write DELETE operations
[ https://issues.apache.org/jira/browse/HIVE-29815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ayush Saxena resolved HIVE-29815.
---------------------------------
Fix Version/s: 4.3.0
Hadoop Flags: Reviewed
Resolution: Fixed
> Iceberg: [V3] Support ROW LINEAGE in Copy-On-Write DELETE operations
> --------------------------------------------------------------------
>
> Key: HIVE-29815
> URL: https://issues.apache.org/jira/browse/HIVE-29815
> Project: Hive
> Issue Type: Improvement
> Reporter: Raghav Aggarwal
> Assignee: Raghav Aggarwal
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.3.0
>
>
> In HIVE-29445, support for Iceberg V3 Row Lineage (ROW_{_}LINEAGE{_}{_}ID and LAST__{_}{_}UPDATED__{_}{_}SEQUENCE{_}__NUMBER) was introduced to track CDC mutations across INSERT, UPDATE, and MERGE operations.
> However, support was missed for *DELETE* operations when the table is explicitly configured with _'write.delete.mode'='copy-on-write'_
>
> *This completely breaks CDC downstream. When a single row is deleted using Copy-On-Write, Iceberg rewrites the entire file to remove that row. Because the lineage IDs of the surviving rows are not preserved during this rewrite, they are all assigned brand new lineage IDs and new sequence numbers.*
--
This message was sent by Atlassian Jira
(v8.20.10#820010)