Repository navigation
[core] Improve fixed-bucket pruning and expose scan statistics - #1140
Open
JingsongLi wants to merge 6 commits into
Open
JingsongLi wants to merge 6 commits into
JingsongLi wants to merge 6 commits into
Conversation
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
PyPaimon already supports scan explanations and fixed-bucket pruning. Complete Native bucket selection using Java semantics and expose counters from ordinary planning through Plan.
Companion PyPaimon integration: apache/paimon#10609 (draft until this API reaches Rust main).
Changes
No new dependencies or public bucket-selector API. No formats or read capabilities beyond PyPaimon's existing support.
Verification
cargo test --locked -p paimon --lib table::: 2104 passed, 3 ignored, including 135 table-scan cases.tests/test_read.py: 152 passed.cargo +1.98.0 fmt --all -- --checkand CI'scargo +1.98.0 clippy --locked --all-targets --workspace --features fulltext,vortex -- -D warningspassed.Coverage includes ordinary/statistics plan equality; zero/positive LIMIT; sparse manifest/Avro sidecar decoding; pending buckets; masking and authorization; correlated partition predicates; historical/empty snapshots; cross-schema ADD/DELETE netting; Data Evolution projection; and combined Delta/Changelog windows.