pub fn make_scan_plan(batch: RecordBatch) -> std::result::Result<LogicalPlan, DataFusionError> {
    let schema = batch.schema();
    let partitions = vec![vec![batch]];
    let projection = None; // scan all columns
    LogicalPlanBuilder::scan_memory(partitions, schema, projection)?.build()
}
/// Create a logical plan that produces the record batch
Create a logical plan that produces the record batch
Create a logical plan that produces the record batch
pub fn make_scan_plan(batch: RecordBatch) -> std::result::Result<LogicalPlan, DataFusionError> {
    let schema = batch.schema();
    let partitions = vec![vec![batch]];
    let projection = None; // scan all columns
    LogicalPlanBuilder::scan_memory(partitions, schema, projection)?.build()
}
pub fn make_scan_plan ( batch : RecordBatch ) -> std :: result :: Result < LogicalPlan , DataFusionError > { let schema = batch . schema ( ) ; let partitions = vec ! [ vec [ batch ] ] ; let projection = None ; // scan all columns LogicalPlanBuilder :: scan_memory ( partitions , schema , projection ) ? . build ( ) }
Create a logical plan that produces the record batch
Create a logical plan that produces the record batch
batch
RecordBatch
batch
RecordBatch