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

chore: change shuffle mode default from jvm to auto #877

Merged
merged 7 commits into from
Aug 28, 2024

Conversation

andygrove
Copy link
Member

@andygrove andygrove commented Aug 27, 2024

Which issue does this PR close?

Closes #.

Rationale for this change

Setting shuffle mode to auto will choose the optimal shuffle mechanism (either native or jvm depending on the plan). This makes more sense as the default value rather than picking jvm which will prevent the use of the more efficient native shuffle in some cases.

The plans got smaller in this PR:

Screenshot 2024-08-28 at 4 08 25 PM

What changes are included in this PR?

  • Change the default from jvm to auto
  • Update the expected plans in the stability tests

How are these changes tested?

Existing tests.

@andygrove andygrove marked this pull request as draft August 27, 2024 23:32
@andygrove andygrove marked this pull request as ready for review August 28, 2024 22:46
@andygrove andygrove requested a review from viirya August 28, 2024 22:46
@andygrove andygrove merged commit fe35224 into apache:main Aug 28, 2024
76 checks passed
@andygrove andygrove deleted the shuffle-default-auto branch August 28, 2024 23:27
himadripal pushed a commit to himadripal/datafusion-comet that referenced this pull request Sep 7, 2024
* change shuffle mode default from jvm to auto

* update expected plans for Spark 3.4

* update expected plans for Spark 3.5

* fix docs for default value

* update expected plans for Spark 4.0

* update expected plans for Spark 4.0

* update 3.4 plans

(cherry picked from commit fe35224)
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.

2 participants