jorgecarleitao commented on pull request #706:
URL: https://github.com/apache/arrow-datafusion/pull/706#issuecomment-877851471


   > What's the ideal design going forward? If the end goal is to create one 
async task for each partition and let tokio thread pool to manage the 
parallelism (threads), then I think the proper change we want to introduce 
should be getting rid of `spawn_blocking` and make read_files fully async.
   
   All our readers are blocking; if we do not run then on `spawn_blocking`, 
won't they block Tokio's runtime?


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