fn create_physical_plan(
        &self,
        logical_plan: &LogicalPlan,
        ctx_state: &ExecutionContextState,
    ) -> Result<Arc<dyn ExecutionPlan>> {
        // Teach the default physical planner how to plan TopK nodes.
        let physical_planner =
            DefaultPhysicalPlanner::with_extension_planner(Arc::new(TopKPlanner {}));
        // Delegate most work of physical planning to the default physical planner
        physical_planner.create_physical_plan(logical_plan, ctx_state)
    }
/// Given a `LogicalPlan` created from above, create an
/// `ExecutionPlan` suitable for execution
Given a `LogicalPlan` created from above, create an
`ExecutionPlan` suitable for execution
Given a ` LogicalPlan ` created from above create an ` ExecutionPlan ` suitable for execution
fn create_physical_plan(
        &self,
        logical_plan: &LogicalPlan,
        ctx_state: &ExecutionContextState,
    ) -> Result<Arc<dyn ExecutionPlan>> {
        // Teach the default physical planner how to plan TopK nodes.
        let physical_planner =
            DefaultPhysicalPlanner::with_extension_planner(Arc::new(TopKPlanner {}));
        // Delegate most work of physical planning to the default physical planner
        physical_planner.create_physical_plan(logical_plan, ctx_state)
    }
fn create_physical_plan ( & self , logical_plan : & LogicalPlan , ctx_state : & ExecutionContextState , ) -> Result < Arc < dyn ExecutionPlan > > { // Teach the default physical planner how to plan TopK nodes. let physical_planner = DefaultPhysicalPlanner :: with_extension_planner ( Arc :: new ( TopKPlanner { } ) ) ; // Delegate most work of physical planning to the default physical planner physical_planner . create_physical_plan ( logical_plan , ctx_state ) }
Given a `LogicalPlan` created from above, create an
`ExecutionPlan` suitable for execution
Given a ` LogicalPlan ` created from above create an ` ExecutionPlan ` suitable for execution
&self
logical_plan
&LogicalPlan
ctx_state
&ExecutionContextState
&self
logical_plan
&LogicalPlan
ctx_state
&ExecutionContextState