pub fn execute_stream(
plan: Arc<dyn ExecutionPlan>,
context: Arc<TaskContext>,
) -> Result<SendableRecordBatchStream>
Expand description
Execute the ExecutionPlan and return a single stream of RecordBatch
es.
See collect to buffer the RecordBatch
es in memory.
ยงAborting Execution
Dropping the stream will abort the execution of the query, and free up any allocated resources