Skip to content

[SPARK-51505][SQL] Always show empty partition number metrics in AQEShuffleReadExec #51608

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

liuzqt
Copy link
Contributor

@liuzqt liuzqt commented Jul 22, 2025

What changes were proposed in this pull request?

A followup for #50273 Always show empty partition number metrics in AQEShuffleReadExec

Why are the changes needed?

Even when there is no coaclescing, we still want to know empty partitions: imaging we have shuffle skewness and each non-empty partition is large so no coalescing happen, but there are many empty partitions.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Update UT

Was this patch authored or co-authored using generative AI tooling?

NO

@github-actions github-actions bot added the SQL label Jul 22, 2025
@liuzqt
Copy link
Contributor Author

liuzqt commented Jul 22, 2025

@cloud-fan

@cloud-fan
Copy link
Contributor

The test failure in AdaptiveQueryExecSuite seems to be related

@@ -1092,7 +1092,7 @@ class AdaptiveQueryExecSuite
}
}

test("metrics of the shuffle read") {
test("AABCmetrics of the shuffle read") {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"AABCmetrics" -- any specific meaning to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants