Skip to content

feat: add position_deletes metadata table - #920

Draft
wirybeaver wants to merge 1 commit into
apache:mainfrom
wirybeaver:feature/position-deletes-metadata-table
Draft

wirybeaver wants to merge 1 commit into
apache:mainfrom
wirybeaver:feature/position-deletes-metadata-table

Conversation

@wirybeaver

@wirybeaver wirybeaver commented Sep 5, 2026 •

Copy link
Copy Markdown

Motivation

DV-PR-3 in #916 exposes deleted positions through the position_deletes metadata table. A table upgraded from v2 can contain both Parquet position deletes and v3 Puffin deletion vectors.

Modification

live delete manifest entries -> Parquet: read file path, position and optional row
                             -> Puffin: expand the referenced bitmap
                             -> attach partition metadata -> project Arrow batches

Resolve partition fields by ID across specs and decode fixed-width manifest values using the field's Iceberg type, including UUID. Missing fields in a partially stored row remain null. The inspector supports complete top-level projections and materializes results before returning the stream.

Test

An in-library scan of an upgraded table returns positions from both Parquet and Puffin. Partition values written to a manifest and read through the metadata table retain their decimal, date, fixed, and UUID values.

@wirybeaver
wirybeaver force-pushed the feature/position-deletes-metadata-table branch 3 times, most recently from 74edbb6 to 7965dcd Compare September 5, 2026 23:34
@wirybeaver
wirybeaver force-pushed the feature/position-deletes-metadata-table branch 2 times, most recently from 0a41688 to 2e7240e Compare October 1, 2026 21:45
@wirybeaver
wirybeaver force-pushed the feature/position-deletes-metadata-table branch 2 times, most recently from 9e63694 to 82283a2 Compare November 26, 2026 20:56
@wirybeaver
wirybeaver force-pushed the feature/position-deletes-metadata-table branch from 82283a2 to 3066781 Compare November 26, 2026 21:27

This branch has not been deployed

No deployments
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