Skip to content

Conversation

@adamreeve
Copy link
Contributor

Fixes #67

This exposes the execute_stream method from Rust. Rather than serializing the data to the IPC format like in the collect method, I've used the Arrow C Data Interface to avoid extra copying of the data. The new RecordBatchStream class that's returned from executeStream acts like the ArrowReader class but with an asynchronous loadNextBatch method.

adamreeve and others added 4 commits September 1, 2023 21:31
This returns a new RecordBatchStream class that acts similarly
to ArrowReader but record batches can be retrieved asynchronously.
@jimexist jimexist merged commit 9908183 into datafusion-contrib:main Sep 4, 2023
@adamreeve adamreeve deleted the execute_stream branch September 4, 2023 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Providing support for streaming dataset results

2 participants