Skip to content

Commit 7661b6b

Browse files
committed
ESQL: Fix names tests
We added two more types between opening #133760 and and merging it. This adds those types to it to fix the tests.
1 parent 3bcf194 commit 7661b6b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/AbstractAggregationTestCase.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,8 +535,7 @@ protected static String standardAggregatorName(String prefix, DataType type) {
535535
case DOUBLE, COUNTER_DOUBLE -> "Double";
536536
case INTEGER, COUNTER_INTEGER -> "Int";
537537
case IP -> "Ip";
538-
case DATETIME, DATE_NANOS, LONG, COUNTER_LONG, UNSIGNED_LONG -> "Long";
539-
case NULL -> "Null";
538+
case DATETIME, DATE_NANOS, LONG, COUNTER_LONG, UNSIGNED_LONG, GEOHASH, GEOTILE, GEOHEX -> "Long"; case NULL -> "Null";
540539
default -> throw new UnsupportedOperationException("name for [" + type + "]");
541540
};
542541
return prefix + typeName;

0 commit comments

Comments
 (0)