Skip to content

feat(table): add SerializeDV and DVWriter for deletion vector authoring#1100

Merged
zeroshade merged 1 commit into
apache:mainfrom
tanmayrauth:feat/997-1-serialize-dv-writer
May 20, 2026
Merged

feat(table): add SerializeDV and DVWriter for deletion vector authoring#1100
zeroshade merged 1 commit into
apache:mainfrom
tanmayrauth:feat/997-1-serialize-dv-writer

Conversation

@tanmayrauth
Copy link
Copy Markdown
Contributor

Adds the serialization half of the deletion vector codec (inverse of DeserializeDV) and a DVWriter that accumulates positions per data file and flushes them as a single Puffin file with one blob per data file.

Returned DataFile entries carry ContentOffset, ContentSizeInBytes, and ReferencedDataFile so they can be passed directly to RowDelta.AddDeletes().

Part 1 of #997

Adds the serialization half of the deletion vector codec (inverse of
DeserializeDV) and a DVWriter that accumulates positions per data file
and flushes them as a single Puffin file with one blob per data file.

Returned DataFile entries carry ContentOffset, ContentSizeInBytes, and
ReferencedDataFile so they can be passed directly to RowDelta.AddDeletes().

Part 1 of apache#997.
@tanmayrauth tanmayrauth requested a review from zeroshade as a code owner May 20, 2026 09:05
@tanmayrauth
Copy link
Copy Markdown
Contributor Author

@laskoviymishka can you please review it?

Copy link
Copy Markdown
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zeroshade zeroshade merged commit 95cf344 into apache:main May 20, 2026
14 checks passed
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.

2 participants