[WIP] Support low shuffle merge with multithreaded Parquet reader - #15934
Draft
liurenjie1024 wants to merge 6 commits into
Draft
[WIP] Support low shuffle merge with multithreaded Parquet reader#15934liurenjie1024 wants to merge 6 commits into
liurenjie1024 wants to merge 6 commits into
Conversation
Signed-off-by: Ray Liu <liurenjie2008@gmail.com>
liurenjie1024
commented
Sep 9, 2026
Signed-off-by: Ray Liu <liurenjie2008@gmail.com>
liurenjie1024
commented
Sep 10, 2026
Signed-off-by: Ray Liu <liurenjie2008@gmail.com>
liurenjie1024
commented
Sep 10, 2026
Signed-off-by: Ray Liu <liurenjie2008@gmail.com>
Signed-off-by: Ray Liu <liurenjie2008@gmail.com>
liurenjie1024
commented
Sep 10, 2026
Signed-off-by: Ray Liu <liurenjie2008@gmail.com>
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.
Fixes #11095.
Description
Low shuffle merge previously required the Parquet reader type to be
PERFILE. Other readermodes fell back to classic merge because the Delta 2.4 reader could not apply its per-file
deletion vectors in the multithreaded path.
This change enables low shuffle merge in every configured Parquet reader mode. It:
coalescing reader, including explicit
COALESCINGand applicableAUTOscans;through a shared helper also used by newer Delta shims;
row-index output when synthetic Delta metadata columns are required;
PERFILEcontinues to use the per-file reader. Low-shuffle scans configured for combined-filereading use the multithreaded reader so deletion-vector state remains file-scoped. Each test in
delta_lake_low_shuffle_merge_test.pynow explicitly parameterizesPERFILE,MULTITHREADED,and
COALESCING; the redundant focused combined-files test was removed.Draft status:
Validation:
mvn -o -pl dist,integration_tests -am -DskipTests -DskipITs -Dbuildver=340 -Dscala2.12 packagemvn -o -pl delta-lake/delta-24x -am -DskipTests -DskipITs -Dbuildver=340 -Dscala2.12 verifyreader settings (
6 passed,6 expected xfailed).data columns used as partition columns (
6 passed).Checklists
Documentation
Testing
(Please provide the names of the existing tests in the PR description.)
Performance