imathews opened a new issue, #42105:
URL: https://github.com/apache/arrow/issues/42105

   ### Describe the enhancement requested
   
   Currently, most pyarrow.Dataset methods offer a `use_threads=bool` 
parameter. It would be nice if we could have finer control over the maximum 
thread count; e.g. `max_threads=int` (where passing 1 to max_threads would be 
the same as setting `use_threads=FALSE`).
   
   The use case here is when a user is working in shared cluster environment, 
where their process will be killed if it uses too many cores. We can of course 
set use_threads to False, but this is quite limiting when working in certain 
HPC environments.
   
   ### Component(s)
   
   Python


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

Reply via email to