File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 3636import static org .elasticsearch .xpack .esql .EsqlTestUtils .paramAsConstant ;
3737import static org .elasticsearch .xpack .esql .EsqlTestUtils .withDefaultLimitWarning ;
3838import static org .elasticsearch .xpack .esql .analysis .AnalyzerTestUtils .loadMapping ;
39+ import static org .elasticsearch .xpack .esql .core .type .DataType .BOOLEAN ;
3940import static org .elasticsearch .xpack .esql .core .type .DataType .COUNTER_DOUBLE ;
4041import static org .elasticsearch .xpack .esql .core .type .DataType .COUNTER_INTEGER ;
4142import static org .elasticsearch .xpack .esql .core .type .DataType .COUNTER_LONG ;
43+ import static org .elasticsearch .xpack .esql .core .type .DataType .DOUBLE ;
44+ import static org .elasticsearch .xpack .esql .core .type .DataType .FLOAT ;
45+ import static org .elasticsearch .xpack .esql .core .type .DataType .INTEGER ;
4246import static org .elasticsearch .xpack .esql .core .type .DataType .KEYWORD ;
47+ import static org .elasticsearch .xpack .esql .core .type .DataType .LONG ;
4348import static org .elasticsearch .xpack .esql .core .type .DataType .UNSIGNED_LONG ;
4449import static org .hamcrest .Matchers .containsString ;
4550import static org .hamcrest .Matchers .equalTo ;
@@ -2060,12 +2065,12 @@ public void testMatchOptions() {
20602065
20612066 // Check all data types for available options
20622067 DataType [] optionTypes = new DataType [] {
2063- DataType . INTEGER ,
2064- DataType . LONG ,
2068+ INTEGER ,
2069+ LONG ,
20652070 DataType .FLOAT ,
20662071 DataType .DOUBLE ,
20672072 DataType .KEYWORD ,
2068- DataType . BOOLEAN };
2073+ BOOLEAN };
20692074 for (Map .Entry <String , DataType > allowedOptions : Match .ALLOWED_OPTIONS .entrySet ()) {
20702075 String optionName = allowedOptions .getKey ();
20712076 DataType optionType = allowedOptions .getValue ();
You can’t perform that action at this time.
0 commit comments