Hi Muhammad, This is a known issue—there is indeed a problem here that is worth addressing. My thought is that we could perhaps retain a record of deletions at the highest level for an extended period, until such time as they can be cleaned up.
Best, Jingsong On Mon, Nov 9, 2026 at 6:11 PM M Junaid <[email protected]> wrote: > > Hi everyone, > > Recently I face one of the issues with sequence fields that doesn't sequence > events for late arriving upsets following a deleted event. More details are > detailed out in this issue ( https://github.com/apache/paimon/issues/11019). > > To address this issue, I am thinking of the following approach at a high > level. > > > 1. > Generate tombstones/delete markers as Indexes during compaction for > lookup/full-compaction changelogs. > 2. > This generation needs to be being a control flag. > 3. > Also, I am inclined to restrict in deduplicate merge-engine. > 4. > During a normal Paimon read, data will be merged with the indexes according > to sequence fields. > 5. > Iceberg reads won't be impacted as compaction will merge the delete index > file. > 6. > This is only going to scoped to primary key tables. There are few things > related to dynamic buckets that needs to be laid out. > > I have experimented with a proof of concept, and things appear to work. I > would like to hear about thoughts on this from the community. > > Thanks, > Muhammad
