Skip to content
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

fix: The spilled_bytes metric of CometSortExec should be size instead of time #984

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

Kontinuation
Copy link
Member

Which issue does this PR close?

Closes #983.

Rationale for this change

Please refer to #983 for details.

What changes are included in this PR?

Fixed the metric creation code for the spilled_bytes metric of CometSortExec. I've also examined all other metrics to make sure that similar problem does not happen to other comet operators.

How are these changes tested?

This fix is so obvious so it may not worth adding a test for it. I've verified the fix manually on Spark UI:

Before After
image image

@Kontinuation Kontinuation marked this pull request as ready for review September 30, 2024 11:27
@viirya
Copy link
Member

viirya commented Sep 30, 2024

Thanks @Kontinuation

@viirya viirya merged commit dcc4a8a into apache:main Sep 30, 2024
75 checks passed
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.

The spilled bytes metric of CometSort is not a size metric
2 participants