westonpace commented on PR #35889:
URL: https://github.com/apache/arrow/pull/35889#issuecomment-1641015601

   > So, this would prevent from use_thread deadlock?
   
   Yes.  Since this method is async then the caller can choose not to block.  
Previously we used `GetRecordBatchGenerator` which is very similar to the 
method I ended up creating (`ReadRowGroupsAsync`).  The difference is that 
`GetRecordBatchGenerator` ignores `batch_size` and `ReadRowGroupsAsync` does 
not.  My hope is that, eventually, `GetRecordBatchGenerator` can be deprecated 
and removed.


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