Is your feature request related to a problem or challenge?
As part of making the planner faster, we are updating the passes to avoid copying LogicalPlan and Expr (see #9637)
Recent profiling (#9637 (comment)) shows that a non trivial amount of plan time happens in OptimizeProjections
Describe the solution you'd like
I would like to reduce the amount of copying in this passso that it no longer appears in profiling traces
Describe alternatives you've considered
No response
Additional context
No response
Is your feature request related to a problem or challenge?
As part of making the planner faster, we are updating the passes to avoid copying
LogicalPlanandExpr(see #9637)Recent profiling (#9637 (comment)) shows that a non trivial amount of plan time happens in
OptimizeProjectionsDescribe the solution you'd like
I would like to reduce the amount of copying in this passso that it no longer appears in profiling traces
Describe alternatives you've considered
No response
Additional context
No response