timsaucer commented on issue #16833: URL: https://github.com/apache/datafusion/issues/16833#issuecomment-3210154222
The FFI interface, which is used for the arrow stream, does currently perform a collect in the `__arrow_c_stream__` function: https://github.com/apache/datafusion-python/blob/main/src/dataframe.rs#L877 I *suspect* what is happening is that it is using all cores prior to the streaming out. I think this issue belongs in the `datafusion-python` repository rather than `datafusion` core, but please feel free to tag me on it as I was the primary author of much of that code. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org