Skip to content

feat: inherit data-file first_row_id on manifest read - #2922

Open
anoopj wants to merge 2 commits into
apache:mainfrom
anoopj:inherit-first-row-id
Open

feat: inherit data-file first_row_id on manifest read#2922
anoopj wants to merge 2 commits into
apache:mainfrom
anoopj:inherit-first-row-id

Conversation

@anoopj

@anoopj anoopj commented Jul 29, 2026

Copy link
Copy Markdown
Member

Which issue does this PR close?

Refs #2879

What changes are included in this PR?

Manifest entries inherit snapshot and sequence numbers on read but not first_row_id, leaving the field parse-only. Assign it during load_manifest from the manifest-level first_row_id plus a running record count, skipping DELETED entries and preserving any already-set value. Mirrors Java's ManifestReader.idAssigner.

This is the first step toward reading the _row_id metadata column, which is derived from a data file's first_row_id and each row's position.

Are these changes tested?

added tests

anoopj added 2 commits July 28, 2026 22:28
Manifest entries inherit snapshot and sequence numbers on read but not
first_row_id, leaving the field parse-only. Assign it during load_manifest
from the manifest-level first_row_id plus a running record count, skipping
DELETED entries and preserving any already-set value. Mirrors Java's
ManifestReader.idAssigner.

This is the first step toward reading the _row_id metadata column, which is
derived from a data file's first_row_id and each row's position.

Refs apache#2879
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