mridulm commented on pull request #33644:
URL: https://github.com/apache/spark/pull/33644#issuecomment-894377429


   @srowen That is controlled by scale - which is unfortunately not 
customizable (`val scale = math.max(math.ceil(math.pow(numPartitions, 1.0 / 
depth)).toInt, 2)`).
   
   The potential for increased cost was the reason I guess @akpatnam25 had the 
config (in my impl from quite a while back, I always did the final fold at 
executors when partitions > 1  :-) ).


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to