Skip to content

Commit e1a0dd3

Browse files
committed
Restore AggregateExec method order to simplify review
1 parent 76099ca commit e1a0dd3

File tree

1 file changed

+4
-4
lines changed
  • x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/physical

1 file changed

+4
-4
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/physical/AggregateExec.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,6 @@ public Integer estimatedRowSize() {
136136
return estimatedRowSize;
137137
}
138138

139-
public AggregatorMode getMode() {
140-
return mode;
141-
}
142-
143139
@Override
144140
public PhysicalPlan estimateRowSize(State state) {
145141
state.add(false, aggregates); // The groupings are contained within the aggregates
@@ -152,6 +148,10 @@ protected AggregateExec withEstimatedSize(int estimatedRowSize) {
152148
return new AggregateExec(source(), child(), groupings, aggregates, mode, intermediateAttributes, estimatedRowSize);
153149
}
154150

151+
public AggregatorMode getMode() {
152+
return mode;
153+
}
154+
155155
/**
156156
* Used only for bwc when de-/serializing.
157157
*/

0 commit comments

Comments
 (0)