Skip to content

Commit 82d1d14

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 94a16b6 commit 82d1d14

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

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

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
import org.elasticsearch.xpack.esql.expression.function.scalar.convert.ToString;
7171
import org.elasticsearch.xpack.esql.expression.function.scalar.internal.PackDimension;
7272
import org.elasticsearch.xpack.esql.expression.function.scalar.internal.UnpackDimension;
73-
import org.elasticsearch.xpack.esql.expression.function.scalar.math.Exp;
7473
import org.elasticsearch.xpack.esql.expression.function.scalar.math.Round;
7574
import org.elasticsearch.xpack.esql.expression.function.scalar.multivalue.MvAvg;
7675
import org.elasticsearch.xpack.esql.expression.function.scalar.multivalue.MvCount;
@@ -9643,7 +9642,10 @@ public void testPruneColumnsInForkBranchesDropNestedEvalsIfNotNeeded() {
96439642
var filter = as(limitInBranch.child(), Filter.class);
96449643
assertThat(filter.toString(), containsString("IN(10048[INTEGER],10081[INTEGER],emp_no"));
96459644
var relation = as(filter.child(), EsRelation.class);
9646-
assertThat(relation.output().stream().map(Attribute::name).collect(Collectors.toSet()), hasItems("emp_no", "first_name", "last_name"));
9645+
assertThat(
9646+
relation.output().stream().map(Attribute::name).collect(Collectors.toSet()),
9647+
hasItems("emp_no", "first_name", "last_name")
9648+
);
96479649
}
96489650
}
96499651

@@ -9722,7 +9724,10 @@ public void testPruneColumnsInForkBranchesDoNotPruneIfWildcardAggregation() {
97229724
var evalInSecondBranch = as(secondBranchProject.child(), Eval.class);
97239725
var limitInSecondBranch = as(evalInSecondBranch.child(), Limit.class);
97249726
var localRelation = as(limitInSecondBranch.child(), LocalRelation.class);
9725-
assertThat(localRelation.output().stream().map(Attribute::name).collect(Collectors.toSet()), hasItems("$$COUNT$COUNT(*)::keywo>$0"));
9727+
assertThat(
9728+
localRelation.output().stream().map(Attribute::name).collect(Collectors.toSet()),
9729+
hasItems("$$COUNT$COUNT(*)::keywo>$0")
9730+
);
97269731

97279732
var thirdBranch = fork.children().get(2);
97289733
var thirdBranchProject = as(thirdBranch, Project.class);

0 commit comments

Comments
 (0)