jackylee-ch opened a new pull request, #37601:
URL: https://github.com/apache/spark/pull/37601

   ### What changes were proposed in this pull request?
   We use `openCostInBytes` to control file partition merging, and the merged 
partitionSize is determined by `maxSplitBytes`. In the scenarios with a large 
number of small files, it is difficult for users to set the appropriate 
configuration to achieve maximum concurrency and best performance.
   This PR is trying to use total file size and `expectedPartitionNum`, which 
is default as the task concurrenty,  to automatically adjust the 
`maxPartitionBytes` and `openCostInBytes` . With this we cansolve the 
concurrency problem in the scenario of a large number of small files.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   unit tests.
   


-- 
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