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

parameterize threshold for growth of single pass partial sort agg #11124

Conversation

binmahone
Copy link
Collaborator

@binmahone binmahone commented Jul 2, 2024

add a config called spark.rapids.sql.agg.singlePassPartialSort.estimatedGrowthThreshold. (default value 1.1)

Even if spark.rapids.sql.agg.singlePassPartialSortEnabled is true, if the estimated growth of size per row is less than this config, single pass partial sort will not be enabled.

This PR has no related issue yet, we'll evaluate the necessarity first at customer side

@binmahone
Copy link
Collaborator Author

build

@binmahone binmahone marked this pull request as draft July 2, 2024 06:17
@sameerz sameerz added the feature request New feature or request label Jul 29, 2024
@sameerz
Copy link
Collaborator

sameerz commented Jul 29, 2024

Please retarget to 24.10

@binmahone binmahone closed this Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants