apache / apache/iceberg-go

RowDelta: AddDeletes accepts DVs on tables below v3

Closed Beginner friendly
#2,003 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
463
Forks
232
Avg merge
2d 12h
Merged PRs (30d)
118

Description

### Apache Iceberg version

main (development)

### Please describe the bug 🐞

With dvs only existing in `v3`, row delta should block them below `v3` but it never does for the ones added through `AddDeletes`.

Because of it, a `v2` table accepts one and commits. Raising the PR for it.

Contributor guide

Open the contributing guide

Research direction

Start by tracing RowDelta handling for deletes added through AddDeletes, focusing on the table-version validation for v2 and v3. Reproduce the case where a v2 table accepts a delete vector, then verify that v2 rejects it while v3 continues to accept it.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
databases
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.