Class PropagateEvalFoldables
java.lang.Object
org.elasticsearch.xpack.esql.rule.Rule<LogicalPlan,LogicalPlan>
org.elasticsearch.xpack.esql.rule.ParameterizedRule<LogicalPlan,LogicalPlan,LogicalOptimizerContext>
org.elasticsearch.xpack.esql.optimizer.rules.logical.PropagateEvalFoldables
public final class PropagateEvalFoldables
extends ParameterizedRule<LogicalPlan,LogicalPlan,LogicalOptimizerContext>
Replace any reference attribute with its source, if it does not affect the result.
This avoids ulterior look-ups between attributes and its source across nodes.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.elasticsearch.xpack.esql.rule.ParameterizedRule
apply
-
Constructor Details
-
PropagateEvalFoldables
public PropagateEvalFoldables()
-
-
Method Details
-
apply
- Specified by:
applyin classParameterizedRule<LogicalPlan,LogicalPlan, LogicalOptimizerContext>
-