Skip to content

Commit dfe555c

Browse files
authored
ESQL: Fix names tests (#134077)
We added two more types between opening #133760 and and merging it. This adds those types to it to fix the tests. Closes #134072
1 parent c956b09 commit dfe555c

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

muted-tests.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -549,10 +549,6 @@ tests:
549549
- class: org.elasticsearch.xpack.cluster.routing.allocation.DataTierAllocationDeciderIT
550550
method: testShardsAreKeptInPreferredTierUntilTheNextTierIsInItsFinalState
551551
issue: https://github.com/elastic/elasticsearch/issues/134050
552-
- class: org.elasticsearch.xpack.esql.expression.function.aggregate.ValuesTests
553-
issue: https://github.com/elastic/elasticsearch/issues/134072
554-
- class: org.elasticsearch.xpack.esql.expression.function.aggregate.SampleTests
555-
issue: https://github.com/elastic/elasticsearch/issues/134072
556552

557553
# Examples:
558554
#

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +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";
538+
case DATETIME, DATE_NANOS, LONG, COUNTER_LONG, UNSIGNED_LONG, GEOHASH, GEOTILE, GEOHEX -> "Long";
539539
case NULL -> "Null";
540540
default -> throw new UnsupportedOperationException("name for [" + type + "]");
541541
};

0 commit comments

Comments
 (0)