Skip to content

Commit f57c0c3

Browse files
committed
inline
1 parent d8e6b20 commit f57c0c3

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

x-pack/plugin/esql/compute/src/main/generated-src/org/elasticsearch/compute/aggregation/ValuesBytesRefAggregator.java

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/aggregation/X-ValuesAggregator.java.st

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,9 +445,8 @@ $if(BytesRef)$
445445
// no longer need the bytes
446446
bytes.close();
447447
bytes = null;
448-
int[] ids = sortedForOrdinalMerging.ids;
449-
for (int i = 0; i < ids.length; i++) {
450-
ids[i] = mappedIds[Math.toIntExact(values.getKey2(ids[i]))];
448+
for (int i = 0; i < sortedForOrdinalMerging.ids.length; i++) {
449+
sortedForOrdinalMerging.ids[i] = mappedIds[Math.toIntExact(values.getKey2(sortedForOrdinalMerging.ids[i]))];
451450
}
452451
} finally {
453452
blockFactory.adjustBreaker(-(long) totalValue * Integer.BYTES);

0 commit comments

Comments
 (0)