Skip to content

Commit 72ff951

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 5e39eaa commit 72ff951

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,9 @@ private UnresolvedAttribute visitRerankScoreAttribute(String optionName, EsqlBas
790790
throw new ParsingException(source(ctx), "Parameter [{}] is null or undefined", optionName);
791791
}
792792

793-
Expression optionValue = ctx.identifier() != null ? Literal.keyword(source(ctx.identifier()), visitIdentifier(ctx.identifier())) : expression(ctx.constant());
793+
Expression optionValue = ctx.identifier() != null
794+
? Literal.keyword(source(ctx.identifier()), visitIdentifier(ctx.identifier()))
795+
: expression(ctx.constant());
794796

795797
if (optionValue instanceof UnresolvedAttribute scoreAttribute) {
796798
return scoreAttribute;

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/Rerank.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import org.elasticsearch.xpack.esql.core.expression.UnresolvedAttribute;
2525
import org.elasticsearch.xpack.esql.core.tree.NodeInfo;
2626
import org.elasticsearch.xpack.esql.core.tree.Source;
27-
import org.elasticsearch.xpack.esql.core.type.DataType;
2827
import org.elasticsearch.xpack.esql.io.stream.PlanStreamInput;
2928
import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan;
3029
import org.elasticsearch.xpack.esql.plan.logical.UnaryPlan;

0 commit comments

Comments
 (0)