Skip to content

Commit 18138cf

Browse files
Fix compilation error
1 parent 017829c commit 18138cf

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/VerifierTests.java

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,15 @@
3636
import static org.elasticsearch.xpack.esql.EsqlTestUtils.paramAsConstant;
3737
import static org.elasticsearch.xpack.esql.EsqlTestUtils.withDefaultLimitWarning;
3838
import static org.elasticsearch.xpack.esql.analysis.AnalyzerTestUtils.loadMapping;
39+
import static org.elasticsearch.xpack.esql.core.type.DataType.BOOLEAN;
3940
import static org.elasticsearch.xpack.esql.core.type.DataType.COUNTER_DOUBLE;
4041
import static org.elasticsearch.xpack.esql.core.type.DataType.COUNTER_INTEGER;
4142
import 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;
4246
import static org.elasticsearch.xpack.esql.core.type.DataType.KEYWORD;
47+
import static org.elasticsearch.xpack.esql.core.type.DataType.LONG;
4348
import static org.elasticsearch.xpack.esql.core.type.DataType.UNSIGNED_LONG;
4449
import static org.hamcrest.Matchers.containsString;
4550
import 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();

0 commit comments

Comments
 (0)