datafusion_physical_plan::common

Function collect

Source
pub async fn collect(
    stream: SendableRecordBatchStream,
) -> Result<Vec<RecordBatch>>
Expand description

Create a vector of record batches from a stream