File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 77
88package org .elasticsearch .xpack .esql .analysis ;
99
10+ import org .elasticsearch .Build ;
1011import org .elasticsearch .core .PathUtils ;
1112import org .elasticsearch .test .ESTestCase ;
1213import org .elasticsearch .xcontent .XContentBuilder ;
@@ -93,6 +94,10 @@ public void testInlineCast() throws IOException {
9394 report .humanReadable (true ).prettyPrint ();
9495 report .startObject ();
9596 List <String > namesAndAliases = new ArrayList <>(DataType .namesAndAliases ());
97+ if (Build .current ().isSnapshot () == false ) {
98+ // Some types do not have a converter in release builds
99+ namesAndAliases .removeAll (List .of ("geohash" , "geotile" , "geohex" ));
100+ }
96101 Collections .sort (namesAndAliases );
97102 for (String nameOrAlias : namesAndAliases ) {
98103 DataType expectedType = DataType .fromNameOrAlias (nameOrAlias );
You can’t perform that action at this time.
0 commit comments