Repository navigation
perf(blob): skip covered payloads during data evolution fallback blob reads - #481
Merged
Merged
Conversation
SteNicholas
reviewed
Oct 30, 2026
Member
There was a problem hiding this comment.
@lxy-9602, thanks for the optimization. I didn't find a correctness issue in the read/skip logic itself; the comments below are about performance in one access pattern, how the read/skip request is passed down, and layering.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Linked issue: close #480
Blob fallback currently materializes every sequence layer before selecting the newest non-placeholder value. This adds unnecessary payload reads and collection decoding when newer layers already provide the result.
Resolve rows from newest to oldest and skip older payloads once a value, including an explicit null, has been selected. A per-file BlobReadContext bounds each read/skip run while preserving the existing field mapping, row tracking, bitmap selection, and deletion-vector processing.
Consume bounded batches directly, removing pending-batch buffering and redundant chunk offsets.
Tests
Added coverage for:
API and Format
Documentation
Generative AI tooling
Generated-by: OpenAI Codex (GPT-6)