Skip to content

[core] Prune manifests before resolving scalar range overflow - #11477

Draft
JingsongLi wants to merge 10 commits into
apache:masterfrom
JingsongLi:codex/split-11429-manifest-overflow
Draft

JingsongLi wants to merge 10 commits into
apache:masterfrom
JingsongLi:codex/split-11429-manifest-overflow

Conversation

@JingsongLi

Copy link
Copy Markdown
Contributor

Purpose

Move file-group pruning ahead of manifest entry merge for FULL and DETAIL overflow. Group by actual ADD row-ID ranges in selected mixed manifests, retain the DELETE entries that can affect the selected groups, and reuse the loaded mixed entries. This reduces manifest I/O while preserving the file groups selected by the previous stage.

This cumulative draft is stage 4 of 4 and builds on the preceding stage. preceding draft #11476

Review this stage in its incremental commit. incremental commit 1778102ffe · original PR #11429

Tests

376 focused JDK 8 tests and the configuration documentation completeness check passed, including Parquet and Lance with BTree and Bitmap. In the same FULL Bitmap fixture, both stages planned the same data file. Manifest opens fell from 1,026 to 4, and planning time fell from 12.11 s to 118.2 ms. The fixture uses 100,001 disjoint ranges, a cap of 100,000, four scan threads, and a simulated delay of 42 ms per local manifest open.

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