Skip to content

Commit 6fbc6b7

Browse files
committed
Fix error during merge.
1 parent 42478ac commit 6fbc6b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LocalPhysicalPlanOptimizerTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@
118118
import static org.elasticsearch.xpack.esql.EsqlTestUtils.loadMapping;
119119
import static org.elasticsearch.xpack.esql.EsqlTestUtils.unboundLogicalOptimizerContext;
120120
import static org.elasticsearch.xpack.esql.EsqlTestUtils.withDefaultLimitWarning;
121+
import static org.elasticsearch.xpack.esql.analysis.AnalyzerTestUtils.defaultInferenceResolution;
121122
import static org.elasticsearch.xpack.esql.analysis.AnalyzerTestUtils.defaultLookupResolution;
122123
import static org.elasticsearch.xpack.esql.analysis.AnalyzerTestUtils.indexWithDateDateNanosUnionType;
123124
import static org.elasticsearch.xpack.esql.core.querydsl.query.Query.unscore;
@@ -228,7 +229,7 @@ private Analyzer makeAnalyzer(String mappingFileName, EnrichResolution enrichRes
228229

229230
private Analyzer makeAnalyzer(IndexResolution indexResolution) {
230231
return new Analyzer(
231-
new AnalyzerContext(config, new EsqlFunctionRegistry(), indexResolution, new EnrichResolution()),
232+
new AnalyzerContext(config, new EsqlFunctionRegistry(), indexResolution, new EnrichResolution(), defaultInferenceResolution()),
232233
new Verifier(new Metrics(new EsqlFunctionRegistry()), new XPackLicenseState(() -> 0L))
233234
);
234235
}

0 commit comments

Comments
 (0)