Skip to content

Commit bc25956

Browse files
committed
spotless
1 parent 7fa6686 commit bc25956

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/ExpressionWritables.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@
6868
import org.elasticsearch.xpack.esql.expression.function.scalar.string.ByteLength;
6969
import org.elasticsearch.xpack.esql.expression.function.scalar.string.LTrim;
7070
import org.elasticsearch.xpack.esql.expression.function.scalar.string.Length;
71-
import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.RLike;
7271
import org.elasticsearch.xpack.esql.expression.function.scalar.string.RTrim;
7372
import org.elasticsearch.xpack.esql.expression.function.scalar.string.Space;
7473
import org.elasticsearch.xpack.esql.expression.function.scalar.string.Trim;
74+
import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.RLike;
7575
import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.WildcardLike;
7676
import org.elasticsearch.xpack.esql.expression.function.scalar.util.Delay;
7777
import org.elasticsearch.xpack.esql.expression.predicate.logical.Not;

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/regex/RLike.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import org.elasticsearch.common.io.stream.StreamInput;
1212
import org.elasticsearch.common.io.stream.StreamOutput;
1313
import org.elasticsearch.xpack.esql.core.expression.Expression;
14-
import org.elasticsearch.xpack.esql.core.expression.FieldAttribute;
1514
import org.elasticsearch.xpack.esql.core.expression.predicate.regex.RLikePattern;
1615
import org.elasticsearch.xpack.esql.core.querydsl.query.Query;
1716
import org.elasticsearch.xpack.esql.core.querydsl.query.RegexQuery;

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ private static Batch<LogicalPlan> localOperators() {
6767
switch (r) {
6868
case PropagateEmptyRelation ignoredPropagate -> newRules.add(new LocalPropagateEmptyRelation());
6969
// skip it: once a fragment contains an Agg, this can no longer be pruned, which the rule can do
70-
case ReplaceStatsFilteredAggWithEval ignoredReplace -> {}
70+
case ReplaceStatsFilteredAggWithEval ignoredReplace -> {
71+
}
7172
default -> newRules.add(r);
7273
}
7374
}

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@
7878
import org.elasticsearch.xpack.esql.expression.function.scalar.multivalue.MvSum;
7979
import org.elasticsearch.xpack.esql.expression.function.scalar.nulls.Coalesce;
8080
import org.elasticsearch.xpack.esql.expression.function.scalar.string.Concat;
81-
import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.RLike;
82-
import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.WildcardLike;
8381
import org.elasticsearch.xpack.esql.expression.predicate.logical.And;
8482
import org.elasticsearch.xpack.esql.expression.predicate.logical.Not;
8583
import org.elasticsearch.xpack.esql.expression.predicate.logical.Or;

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/FoldNullTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
import org.elasticsearch.xpack.esql.expression.function.scalar.multivalue.MvMin;
4848
import org.elasticsearch.xpack.esql.expression.function.scalar.multivalue.MvSum;
4949
import org.elasticsearch.xpack.esql.expression.function.scalar.string.LTrim;
50-
import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.RLike;
5150
import org.elasticsearch.xpack.esql.expression.function.scalar.string.Substring;
51+
import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.RLike;
5252
import org.elasticsearch.xpack.esql.expression.predicate.logical.And;
5353
import org.elasticsearch.xpack.esql.expression.predicate.logical.Or;
5454
import org.elasticsearch.xpack.esql.expression.predicate.nulls.IsNotNull;

0 commit comments

Comments
 (0)