PushProjectionIntoExpand implements Rule
Read onlyYes
FinalYes
Columns no consumer reads are not copied into the rows an expand emits.
Interfaces
Methods
- apply() : LogicalPlan
- Rewrite the plan, or return it unchanged. A rule never mutates the plan it is given.
Methods
apply()
Rewrite the plan, or return it unchanged. A rule never mutates the plan it is given.
public
apply(LogicalPlan $plan, Backend $backend) : LogicalPlan
A rule that rewrites nodes goes through LogicalPlan::transformUp(): its one memo rewrites a node every consumer shares exactly once, so the Result and the writes keep sharing it.
Parameters
- $plan : LogicalPlan
- $backend : Backend