Skip to content

Commit e7cc20c

Browse files
committed
Merge remote-tracking branch 'felixbarny/promql-verifier' into promql-verifier
2 parents f9582a9 + 3baa71b commit e7cc20c

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/LogicalPlanOptimizer.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ public LogicalPlanOptimizer(LogicalOptimizerContext optimizerContext) {
117117
public LogicalPlan optimize(LogicalPlan verified) {
118118
var optimized = execute(verified);
119119

120-
// Failures failures = verifier.verify(optimized, verified.output());
121-
// if (failures.hasFailures()) {
122-
// throw new VerificationException(failures);
123-
// }
120+
// Failures failures = verifier.verify(optimized, verified.output());
121+
// if (failures.hasFailures()) {
122+
// throw new VerificationException(failures);
123+
// }
124124
optimized.setOptimized();
125125
return optimized;
126126
}

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
import org.elasticsearch.TransportVersion;
1111
import org.elasticsearch.index.IndexMode;
12-
import org.elasticsearch.transport.Transport;
1312
import org.elasticsearch.xpack.esql.EsqlTestUtils;
1413
import org.elasticsearch.xpack.esql.action.EsqlCapabilities;
1514
import org.elasticsearch.xpack.esql.analysis.Analyzer;
@@ -23,7 +22,6 @@
2322
import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan;
2423
import org.junit.BeforeClass;
2524

26-
import java.util.Collections;
2725
import java.util.Map;
2826

2927
import static java.util.Collections.emptyMap;

0 commit comments

Comments
 (0)