[core] Prune manifests by bucket metadata - #9783
Closed
jianguotian wants to merge 1 commit into
Closed
Conversation
jianguotian
force-pushed
the
perf/manifest-bucket-pruning
branch
from
September 13, 2026 06:38
749174e to
0edd16d
Compare
jianguotian
force-pushed
the
perf/manifest-bucket-pruning
branch
from
September 13, 2026 06:43
0edd16d to
d14e4c5
Compare
jianguotian
marked this pull request as ready for review
September 13, 2026 06:45
Contributor
Author
|
CI note: the two currently failed jobs both stop in the unrelated paimon-s3-impl S3FileIOTest because Testcontainers cannot pull minio/minio:RELEASE.2022-02-07T08-17-33Z; the registry returns 404 / pull access denied. There are no compilation, assertion, formatting, or changed-module failures in those jobs. I attempted to rerun the failed jobs, but GitHub requires repository admin permission for that action; the remaining matrix is still running. |
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
Bucket-key point lookups spanning many partitions can spend most of their time opening manifests whose bucket ranges cannot match. Manifest metadata currently lacks total-bucket bounds, and existing compacted manifests cannot be reorganized under an opt-in bucket-first layout.
Changes
Legacy manifests without the new nullable fields fall back to conservative reads. Both new options default to false. Bucket enumeration is bounded and also falls back conservatively.
Performance evidence
On a production-shaped 2.54 TB test branch using the same point-lookup SQL and result set, the combined layout and pruning path reduced opened manifests from 136 to 1 and planning from 22.6 s to 2.0 s. Resulted data files remained 54 and splits remained 25, isolating the change to planning rather than data scanning.
Verification