Skip to content

Commit 0916ac3

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent e3e9792 commit 0916ac3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,6 @@ public PlanFactory visitCompletionCommand(EsqlBaseParser.CompletionCommandContex
11741174
throw qualifiersUnsupportedInFieldDefinitions(targetField.source(), ctx.targetField.getText());
11751175
}
11761176

1177-
11781177
return p -> {
11791178
checkForRemoteClusters(p, source, "COMPLETION");
11801179
return applyCompletionOptions(new Completion(source, p, prompt, targetField), ctx.commandNamedParameters()).withMaxRows(

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public void checkOptimizedPlan(LogicalPlan basePlan, LogicalPlan optimizedPlan)
8383
),
8484
new PushDownLimitTestCase<>(
8585
Completion.class,
86-
(plan, attr) -> new Completion(EMPTY, plan, randomLiteral(KEYWORD), randomLiteral(INTEGER), randomLiteral(KEYWORD), attr),
86+
(plan, attr) -> new Completion(EMPTY, plan, randomLiteral(KEYWORD), randomLiteral(INTEGER), randomLiteral(KEYWORD), attr),
8787
(basePlan, optimizedPlan) -> {
8888
assertEquals(basePlan.source(), optimizedPlan.source());
8989
assertEquals(basePlan.inferenceId(), optimizedPlan.inferenceId());

0 commit comments

Comments
 (0)