lidavidm commented on pull request #11145:
URL: https://github.com/apache/arrow/pull/11145#issuecomment-919253529


   This happens because CountRows() creates a dummy OneShotFragment. This 
fragment, when scanned, unconditionally uses a BackgroundIterator and transfers 
to the CPU executor. Hence under stress, this could cause both the main thread 
and CPU threads to be used. I think this needs to be fixed, but for the 
purposes of CountRows, we can instead use InMemoryFragment which does not 
transfer.


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