pub fn optimize_plan( context: &StatementPlanningContext<'_>, plan: UnifiedPlan, ) -> Result<UnifiedPlan, SQLError>