eeroel commented on issue #39906:
URL: https://github.com/apache/arrow/issues/39906#issuecomment-1925781037

   > Got around to doing some profiling with print statements now. It looks 
like GetFragmentsImpl
   > 
   > 
https://github.com/apache/arrow/blob/0fb00fdea7a9541ac8df8a4f784af1dfd0adb056/cpp/src/arrow/dataset/file_base.cc#L305
   > gets called twice when running this, both calls taking 300ms. That seems 
like a potential bug?
   
   These two calls come from ScanBatchesUnorderedAsync, one from here:
   
https://github.com/apache/arrow/blob/aded7bf37686a16fc4b0649ab97231427a219d7b/cpp/src/arrow/dataset/scanner.cc#L461
 and one from this StartProducing call: 
https://github.com/apache/arrow/blob/aded7bf37686a16fc4b0649ab97231427a219d7b/cpp/src/arrow/dataset/scanner.cc#L458


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