datafusion_physical_plan::execution_plan

Function execute_stream_partitioned

Source
pub fn execute_stream_partitioned(
    plan: Arc<dyn ExecutionPlan>,
    context: Arc<TaskContext>,
) -> Result<Vec<SendableRecordBatchStream>>
Expand description

Execute the ExecutionPlan and return a vec with one stream per output partition

ยงAborting Execution

Dropping the stream will abort the execution of the query, and free up any allocated resources