Skip to content

Commit 930956b

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 7875826 commit 930956b

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
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/main/java/org/elasticsearch/xpack/esql/plan/logical/promql/PromqlCommand.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
package org.elasticsearch.xpack.esql.plan.logical.promql;
99

1010
import org.elasticsearch.common.io.stream.StreamOutput;
11-
import org.elasticsearch.core.TimeValue;
1211
import org.elasticsearch.xpack.esql.capabilities.TelemetryAware;
1312
import org.elasticsearch.xpack.esql.core.expression.Expression;
1413
import org.elasticsearch.xpack.esql.core.expression.Literal;
@@ -103,9 +102,9 @@ public int hashCode() {
103102
public boolean equals(Object obj) {
104103
if (super.equals(obj)) {
105104

106-
PromqlCommand other = (PromqlCommand) obj;
107-
return Objects.equals(child(), other.child()) && Objects.equals(promqlPlan, other.promqlPlan);
108-
}
105+
PromqlCommand other = (PromqlCommand) obj;
106+
return Objects.equals(child(), other.child()) && Objects.equals(promqlPlan, other.promqlPlan);
107+
}
109108

110109
return false;
111110
}

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)