File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/execution Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 4242public class PlanExecutor {
4343
4444 private final IndexResolver indexResolver ;
45+ private final PreAnalyzer preAnalyzer ;
4546 private final EsqlFunctionRegistry functionRegistry ;
4647 private final Mapper mapper ;
4748 private final Metrics metrics ;
@@ -58,6 +59,7 @@ public PlanExecutor(
5859 Settings settings
5960 ) {
6061 this .indexResolver = indexResolver ;
62+ this .preAnalyzer = new PreAnalyzer ();
6163 this .functionRegistry = new EsqlFunctionRegistry ();
6264 this .mapper = new Mapper ();
6365 this .metrics = new Metrics (functionRegistry );
@@ -84,7 +86,7 @@ public void esql(
8486 cfg ,
8587 indexResolver ,
8688 enrichPolicyResolver ,
87- new PreAnalyzer () ,
89+ preAnalyzer ,
8890 new LogicalPlanPreOptimizer (new LogicalPreOptimizerContext (foldContext )),
8991 functionRegistry ,
9092 new LogicalPlanOptimizer (new LogicalOptimizerContext (cfg , foldContext )),
You can’t perform that action at this time.
0 commit comments