Skip to content

Commit f6f56b4

Browse files
committed
Merge remote-tracking branch 'nik9000/esql_extra_checkers' into esql_extra_checkers
2 parents 34e6cef + 350d303 commit f6f56b4

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/EsqlTestUtils.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,11 @@ public static LogicalOptimizerContext unboundLogicalOptimizerContext() {
384384
return new LogicalOptimizerContext(EsqlTestUtils.TEST_CFG, FoldContext.small());
385385
}
386386

387-
public static final Verifier TEST_VERIFIER = new Verifier(List.of(), new Metrics(new EsqlFunctionRegistry()), new XPackLicenseState(() -> 0L));
387+
public static final Verifier TEST_VERIFIER = new Verifier(
388+
List.of(),
389+
new Metrics(new EsqlFunctionRegistry()),
390+
new XPackLicenseState(() -> 0L)
391+
);
388392

389393
public static final TransportActionServices MOCK_TRANSPORT_ACTION_SERVICES = new TransportActionServices(
390394
mock(TransportService.class),

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/execution/PlanExecutor.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@
1515
import org.elasticsearch.xpack.esql.action.EsqlQueryRequest;
1616
import org.elasticsearch.xpack.esql.analysis.PreAnalyzer;
1717
import org.elasticsearch.xpack.esql.analysis.Verifier;
18-
import org.elasticsearch.xpack.esql.common.Failures;
1918
import org.elasticsearch.xpack.esql.core.expression.FoldContext;
2019
import org.elasticsearch.xpack.esql.enrich.EnrichPolicyResolver;
2120
import org.elasticsearch.xpack.esql.expression.function.EsqlFunctionRegistry;
2221
import org.elasticsearch.xpack.esql.optimizer.LogicalOptimizerContext;
2322
import org.elasticsearch.xpack.esql.optimizer.LogicalPlanOptimizer;
24-
import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan;
2523
import org.elasticsearch.xpack.esql.planner.mapper.Mapper;
2624
import org.elasticsearch.xpack.esql.plugin.TransportActionServices;
2725
import org.elasticsearch.xpack.esql.querylog.EsqlQueryLog;
@@ -35,7 +33,6 @@
3533
import org.elasticsearch.xpack.esql.telemetry.QueryMetric;
3634

3735
import java.util.List;
38-
import java.util.function.BiConsumer;
3936

4037
import static org.elasticsearch.action.ActionListener.wrap;
4138

0 commit comments

Comments
 (0)