pub fn optimize(plan: PlanRef) -> VortexResult<PlanRef>
Optimizes plan, preserving its dtype and row domain.
plan