Skip to content

Commit 3c8140b

Browse files
committed
Add test
1 parent 5dbc3ca commit 3c8140b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

x-pack/plugin/esql/compute/src/test/java/org/elasticsearch/compute/operator/TimeSeriesAggregationOperatorTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,13 +277,13 @@ public void close() {
277277
between(1, 100)
278278
).get(ctx);
279279

280-
// tsid, bucket, rate[0][0],rate[0][1],rate[0][2], grouping1, grouping2
280+
// tsid, bucket, rate[0][0],rate[0][1],rate[0][2],rate[0][3], grouping1, grouping2
281281
Operator intermediateAgg = new TimeSeriesAggregationOperatorFactories.Intermediate(
282282
0,
283283
1,
284284
rounding,
285-
IntStream.range(0, nonBucketGroupings.size()).mapToObj(n -> new BlockHash.GroupSpec(5 + n, ElementType.BYTES_REF)).toList(),
286-
List.of(new SupplierWithChannels(new RateLongAggregatorFunctionSupplier(unitInMillis), List.of(2, 3, 4))),
285+
IntStream.range(0, nonBucketGroupings.size()).mapToObj(n -> new BlockHash.GroupSpec(6 + n, ElementType.BYTES_REF)).toList(),
286+
List.of(new SupplierWithChannels(new RateLongAggregatorFunctionSupplier(unitInMillis), List.of(2, 3, 4, 5))),
287287
List.of(),
288288
between(1, 100)
289289
).get(ctx);

0 commit comments

Comments
 (0)