Skip to content

Commit 1941237

Browse files
elasticsearchmachinejan-elastic
authored andcommitted
[CI] Auto commit changes from spotless
1 parent bdf18e1 commit 1941237

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -682,11 +682,9 @@ public PlanFactory visitRrfCommand(EsqlBaseParser.RrfCommandContext ctx) {
682682
Attribute forkAttr = new UnresolvedAttribute(source, Fork.FORK_FIELD);
683683
Attribute idAttr = new UnresolvedAttribute(source, IdFieldMapper.NAME);
684684
Attribute indexAttr = new UnresolvedAttribute(source, MetadataAttribute.INDEX);
685-
List<NamedExpression> aggregates = List.of(new Alias(
686-
source,
687-
MetadataAttribute.SCORE,
688-
new Sum(source, scoreAttr, new Literal(source, true, DataType.BOOLEAN))
689-
));
685+
List<NamedExpression> aggregates = List.of(
686+
new Alias(source, MetadataAttribute.SCORE, new Sum(source, scoreAttr, new Literal(source, true, DataType.BOOLEAN)))
687+
);
690688
List<Attribute> groupings = List.of(idAttr, indexAttr);
691689

692690
LogicalPlan dedup = new Dedup(source, new RrfScoreEval(source, input, scoreAttr, forkAttr), aggregates, groupings);

0 commit comments

Comments
 (0)