Class ProjectAwayColumns

java.lang.Object
org.elasticsearch.xpack.esql.rule.Rule<PhysicalPlan,PhysicalPlan>
org.elasticsearch.xpack.esql.optimizer.rules.physical.ProjectAwayColumns

public class ProjectAwayColumns extends Rule<PhysicalPlan,PhysicalPlan>
Adds an explicit project to minimize the amount of attributes sent from the local plan to the coordinator. This is done here to localize the project close to the data source and simplify the upcoming field extraction.