Xuanwo commented on PR #6676:
URL: https://github.com/apache/arrow-rs/pull/6676#issuecomment-2550193737

   Hi, I like this PR. I'm trying to find a way to enable splitting IO-bound 
and CPU-bound jobs. For a query engine like Databend, we run IO tasks on an 
async runtime and CPU-bound jobs on dedicated threads. We schedule them using 
our pipeline system.
   
   Adding `fetch` seems like a good starting point for me. Is it possible to 
take it a step further by allowing users to call `fetch().await` and then 
perform `next()` in a separate blocking manner? The challenge might lie in 
designing an API that is sufficiently well-structured.
   
   cc @alamb, I'm willing to start a new issue if you think this PR is not the 
right place.


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