Skip to content

[V3] Fix issue with reading deletion vectors from puffin files that contain multiple blobs#1182

Merged
Tishj merged 6 commits into
duckdb:v1.5-variegatafrom
Tishj:puffin_multiple_deletion_vector_blobs
Jul 16, 2026
Merged

[V3] Fix issue with reading deletion vectors from puffin files that contain multiple blobs#1182
Tishj merged 6 commits into
duckdb:v1.5-variegatafrom
Tishj:puffin_multiple_deletion_vector_blobs

Conversation

@Tishj

@Tishj Tishj commented Jul 16, 2026

Copy link
Copy Markdown
Member

This PR fixes https://github.com/duckdblabs/duckdb-internal/issues/9961

Problem stemmed from the CachingFileHandle returning a BufferHandle, and we used that .Ptr(), which points at the start of the buffer.
If we cache a read of the same file at an earlier offset, then a blob of the same file at a later offset could exist in the same BufferHandle.

The Read has an out-parameter that is set to the start of the data that was actually requested, which is what should be used instead.

@Tishj
Tishj merged commit 1a68358 into duckdb:v1.5-variegata Jul 16, 2026
17 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.

1 participant