We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcf0892 commit 4076106Copy full SHA for 4076106
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/LocalLogicalPlanOptimizer.java
@@ -85,12 +85,8 @@ private static Batch<LogicalPlan> localOperators() {
85
}
86
87
public LogicalPlan localOptimize(LogicalPlan plan) {
88
- Failures failures = verifier.verify(plan);
89
- if (failures.hasFailures()) {
90
- throw new VerificationException("Plan before optimize not valid: " + failures + " for plan: " + plan.nodeString());
91
- }
92
LogicalPlan optimized = execute(plan);
93
- failures = verifier.verify(optimized);
+ Failures failures = verifier.verify(optimized);
94
if (failures.hasFailures()) {
95
throw new VerificationException("Plan after optimize not valid: " + failures + " for plan: " + plan.nodeString());
96
0 commit comments