Skip to content

Commit 4df983b

Browse files
committed
revert
1 parent aa31bcd commit 4df983b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/plugin/esql/compute/gen/src/main/java/org/elasticsearch/compute/gen/AggregatorImplementer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ static ClassName valueBlockType(ExecutableElement init, ExecutableElement combin
175175
case "double" -> DOUBLE_BLOCK;
176176
case "float" -> FLOAT_BLOCK;
177177
case "long" -> LONG_BLOCK;
178-
case "int" -> INT_BLOCK;
178+
case "int", "int[]" -> INT_BLOCK;
179179
case "org.apache.lucene.util.BytesRef" -> BYTES_REF_BLOCK;
180180
default -> throw new IllegalArgumentException("unknown block type for " + valueType(init, combine));
181181
};
@@ -187,7 +187,7 @@ static ClassName valueVectorType(ExecutableElement init, ExecutableElement combi
187187
case "double" -> DOUBLE_VECTOR;
188188
case "float" -> FLOAT_VECTOR;
189189
case "long" -> LONG_VECTOR;
190-
case "int" -> INT_VECTOR;
190+
case "int", "int[]" -> INT_VECTOR;
191191
case "org.apache.lucene.util.BytesRef" -> BYTES_REF_VECTOR;
192192
default -> throw new IllegalArgumentException("unknown vector type for " + valueType(init, combine));
193193
};

0 commit comments

Comments
 (0)