Skip to content

Commit

Permalink
should not have been committed
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHegarty committed Sep 13, 2023
1 parent fe3947c commit 68dcc09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
* Expressions that have a mapping to an {@link ExpressionEvaluator}.
*/
public interface EvaluatorMapper {
// TODO: replace Function<BigArrays, ExpressionEvaluator> with explicit ExpressionEvaluatorSupplier type
ExpressionEvaluatorFactory toEvaluator(Function<Expression, ExpressionEvaluatorFactory> toEvaluator);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,16 @@ public class PlanExecutor {

private final IndexResolver indexResolver;
private final EnrichPolicyResolver enrichPolicyResolver;
// private final CircuitBreaker breaker;
private final PreAnalyzer preAnalyzer;
private final FunctionRegistry functionRegistry;
private final LogicalPlanOptimizer logicalPlanOptimizer;
private final Mapper mapper;
private final Metrics metrics;
private final Verifier verifier;

public PlanExecutor(IndexResolver indexResolver, EnrichPolicyResolver enrichPolicyResolver) { // }, CircuitBreaker breaker) {
public PlanExecutor(IndexResolver indexResolver, EnrichPolicyResolver enrichPolicyResolver) {
this.indexResolver = indexResolver;
this.enrichPolicyResolver = enrichPolicyResolver;
// this.breaker = breaker;
this.preAnalyzer = new PreAnalyzer();
this.functionRegistry = new EsqlFunctionRegistry();
this.logicalPlanOptimizer = new LogicalPlanOptimizer();
Expand Down Expand Up @@ -69,8 +67,7 @@ private EsqlSession newSession(String sessionId, EsqlConfiguration cfg) {
functionRegistry,
logicalPlanOptimizer,
mapper,
verifier // ,
// breaker
verifier
);
}

Expand Down

0 comments on commit 68dcc09

Please sign in to comment.