Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
execute_stream in datafusion::physical_plan::execution_plan - Rust
[go: Go Back, main page]

Function datafusion::physical_plan::execution_plan::execute_stream

source ·
pub fn execute_stream(
    plan: Arc<dyn ExecutionPlan>,
    context: Arc<TaskContext>,
) -> Result<Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send>>, DataFusionError>
Expand description

Execute the ExecutionPlan and return a single stream of RecordBatches.

See collect to buffer the RecordBatches in memory.

§Aborting Execution

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