Skip to content

feat: Implement PositionDeleteWriter for position delete files#582

Open
shangxinli wants to merge 1 commit intoapache:mainfrom
shangxinli:implement-position-delete-writer
Open

feat: Implement PositionDeleteWriter for position delete files#582
shangxinli wants to merge 1 commit intoapache:mainfrom
shangxinli:implement-position-delete-writer

Conversation

@shangxinli
Copy link
Contributor

Implement the PositionDeleteWriter following the same PIMPL pattern as DataWriter. The writer supports both buffered WriteDelete(file_path, pos) calls and direct Write(ArrowArray*) for pre-formed batches. Metadata reports content=kPositionDeletes with sort_order_id=nullopt per spec, and tracks referenced_data_file when all deletes target a single file.

Implement the PositionDeleteWriter following the same PIMPL pattern as
DataWriter. The writer supports both buffered WriteDelete(file_path, pos)
calls and direct Write(ArrowArray*) for pre-formed batches. Metadata
reports content=kPositionDeletes with sort_order_id=nullopt per spec,
and tracks referenced_data_file when all deletes target a single file.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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