[python] Read VARIANT pages with Parquet OffsetIndex - #9962
Merged
JingsongLi merged 1 commit intoSep 22, 2026
Merged
JingsongLi merged 1 commit into
JingsongLi merged 1 commit into
Conversation
XiaoHongbo-Hope
force-pushed
the
codex/late-materialize-variant-read
branch
2 times, most recently
from
September 21, 2026 09:47
fc224a8 to
4846dba
Compare
XiaoHongbo-Hope
marked this pull request as ready for review
September 21, 2026 11:24
XiaoHongbo-Hope
force-pushed
the
codex/late-materialize-variant-read
branch
from
September 21, 2026 11:41
4846dba to
d22f1da
Compare
JingsongLi
reviewed
Sep 22, 2026
JingsongLi
left a comment
Contributor
There was a problem hiding this comment.
Requirement fit: SUPPORTED. Implementation: CLEAN in this focused pass. Removing the bounded-VARIANT exclusion lets a row-range read use Parquet OffsetIndex instead of decoding a full row group. The added tests compare selected-page output with the ordinary reader across page versions and null rows, measure fewer bytes read, and exercise the unprofitable and missing-index fallbacks. The production change is one guard removal; I found no changed behavior outside that path in the diff. I reviewed code and tests but did not run PyPaimon locally.
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.
What
I/O trade-off
Selective reads can transfer fewer bytes but may issue more object-store range requests. This change does not alter the table format or page-index option semantics.