From 7438ca8b554acdf100b4429351cb08e411fabdbe Mon Sep 17 00:00:00 2001 From: Aurelien FOUCRET Date: Mon, 25 Nov 2024 15:12:43 +0100 Subject: [PATCH] Fix test compile error in branch 8.x --- .../xpack/esql/optimizer/LocalPhysicalPlanOptimizerTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LocalPhysicalPlanOptimizerTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LocalPhysicalPlanOptimizerTests.java index 10a324b797a31..293ee80d4ca94 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LocalPhysicalPlanOptimizerTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LocalPhysicalPlanOptimizerTests.java @@ -781,7 +781,7 @@ public void testKqlFunctionWithFunctionsPushedToLucene() { from test | where kql("last_name: Smith") and cidr_match(ip, "127.0.0.1/32") """; - var analyzer = makeAnalyzer("mapping-all-types.json"); + var analyzer = makeAnalyzer("mapping-all-types.json", new EnrichResolution()); var plan = plannerOptimizer.plan(queryText, IS_SV_STATS, analyzer); var limit = as(plan, LimitExec.class);