Skip to content

Commit 286751a

Browse files
elasticsearchmachinejan-elastic
authored andcommitted
[CI] Auto commit changes from spotless
1 parent 448d8e8 commit 286751a

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
@@ -690,11 +690,9 @@ public PlanFactory visitRrfCommand(EsqlBaseParser.RrfCommandContext ctx) {
690690
Attribute forkAttr = new UnresolvedAttribute(source, Fork.FORK_FIELD);
691691
Attribute idAttr = new UnresolvedAttribute(source, IdFieldMapper.NAME);
692692
Attribute indexAttr = new UnresolvedAttribute(source, MetadataAttribute.INDEX);
693-
List<NamedExpression> aggregates = List.of(new Alias(
694-
source,
695-
MetadataAttribute.SCORE,
696-
new Sum(source, scoreAttr, new Literal(source, true, DataType.BOOLEAN))
697-
));
693+
List<NamedExpression> aggregates = List.of(
694+
new Alias(source, MetadataAttribute.SCORE, new Sum(source, scoreAttr, new Literal(source, true, DataType.BOOLEAN)))
695+
);
698696
List<Attribute> groupings = List.of(idAttr, indexAttr);
699697

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

0 commit comments

Comments
 (0)