pub fn execute_plan(
cache: &TableCache,
table_name: &str,
plan: LogicalPlan,
) -> ExecutionResult<Vec<Rc<Row>>>Expand description
Executes a logical plan using the query engine.
This function:
- Builds execution context with index information
- Creates QueryPlanner with unified optimization pipeline
- Plans and optimizes the query (logical + physical)
- Executes using PhysicalPlanRunner