We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e363b2 commit d8e6b20Copy full SHA for d8e6b20
x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/aggregation/X-ValuesAggregator.java.st
@@ -347,12 +347,12 @@ $endif$
347
selectedCountsSize = adjust;
348
int[] selectedCounts = new int[selectedCountsLen];
349
for (int id = 0; id < values.size(); id++) {
350
- $if(long||BytesRef||double)$
+$if(long||BytesRef||double)$
351
int group = (int) values.getKey1(id);
352
- $elseif(float||int)$
+$elseif(float||int)$
353
long both = values.get(id);
354
int group = (int) (both >>> Float.SIZE);
355
- $endif$
+$endif$
356
if (group < selectedCounts.length) {
357
selectedCounts[group]--;
358
}
0 commit comments