You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/AbstractPhysicalOperationProviders.java
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,8 @@ public final PhysicalOperation groupingPhysicalOperation(
97
97
aggregatorMode,
98
98
sourceLayout,
99
99
false, // non-grouping
100
-
s -> aggregatorFactories.add(s.supplier.aggregatorFactory(s.mode, s.channels))
100
+
s -> aggregatorFactories.add(s.supplier.aggregatorFactory(s.mode, s.channels)),
101
+
context
101
102
);
102
103
103
104
if (aggregatorFactories.isEmpty() == false) {
@@ -171,7 +172,8 @@ else if (aggregatorMode.isOutputPartial()) {
171
172
aggregatorMode,
172
173
sourceLayout,
173
174
true, // grouping
174
-
s -> aggregatorFactories.add(s.supplier.groupingAggregatorFactory(s.mode, s.channels))
175
+
s -> aggregatorFactories.add(s.supplier.groupingAggregatorFactory(s.mode, s.channels)),
176
+
context
175
177
);
176
178
// time-series aggregation
177
179
if (Expressions.anyMatch(aggregates, a -> ainstanceofToTimeSeriesAggregator)
0 commit comments