cxzl25 opened a new pull request #34859:
URL: https://github.com/apache/spark/pull/34859


   ### What changes were proposed in this pull request?
   Support the configuration of the initial number of scan partitions when 
executing a take on a query.
   `spark.sql.limit.initialPartitionNum`
   
   
   ### Why are the changes needed?
   Now the initial number of scanned partitions is 1 by default when executing 
a take on a query.
   This number does not support configuration.
   Sometimes the first task runs slower. If we have this configuration, we can 
increase the initial parallelism.
   
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   manual test
   


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