HyukjinKwon opened a new pull request, #47349:
URL: https://github.com/apache/spark/pull/47349

   ### What changes were proposed in this pull request?
   
   This PR proposes to change `spark.sql.shuffle.partitions` to the number of 
executor threads when users specify the master as `local[...]`.
   
   ### Why are the changes needed?
   
   The static number of `200` is a bit unreasonable, and sometimes it makes 
small jobs very slow. With this change, the new comers can leverage performance 
improvement in their laptop.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. If users use `master` as `local[...]`, then 
`spark.sql.shuffle.partitions` will be set the number of executor threads.
   
   ### How was this patch tested?
   
   Manually tested in my PySpark shell, and checked it in UI.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to