Skip to content

fix(table): reject ambiguous row-id columns in position deltas - #1616

Open
fallintoplace wants to merge 2 commits into
apache:mainfrom
fallintoplace:fix/table-reject-duplicate-row-id-columns
Open

fix(table): reject ambiguous row-id columns in position deltas#1616
fallintoplace wants to merge 2 commits into
apache:mainfrom
fallintoplace:fix/table-reject-duplicate-row-id-columns

Conversation

@fallintoplace

Copy link
Copy Markdown
Contributor

What changed

Require position-delta batches to contain at most one _row_id column. The shared lookup is used by Reinsert, Insert, and the null-column append path.

Why

Arrow schemas can contain duplicate field names. Selecting the first _row_id silently made reserved row-lineage metadata ambiguous and could ignore a conflicting or malformed second column.

Testing

  • Added duplicate _row_id coverage for both Reinsert and Insert
  • go test ./table

Signed-off-by: Minh Vu <vuhoangminh97@gmail.com>
@fallintoplace
fallintoplace requested a review from zeroshade as a code owner July 30, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant