pub struct CommonSubexprElimination;Expand description
Extract common subexpressions into Compute bindings (intra-expression)
and hoist identical subquery bodies into CTEs (plan-level).
Trait Implementations§
Source§impl OptPass for CommonSubexprElimination
impl OptPass for CommonSubexprElimination
Source§fn apply(&self, plan: LogicalPlan) -> LogicalPlan
fn apply(&self, plan: LogicalPlan) -> LogicalPlan
Apply the rewrite to
plan, returning the (possibly modified) plan.Auto Trait Implementations§
impl Freeze for CommonSubexprElimination
impl RefUnwindSafe for CommonSubexprElimination
impl Send for CommonSubexprElimination
impl Sync for CommonSubexprElimination
impl Unpin for CommonSubexprElimination
impl UnsafeUnpin for CommonSubexprElimination
impl UnwindSafe for CommonSubexprElimination
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more