Skip to content

Commit 44c87cb

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 3f16640 commit 44c87cb

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,7 @@ public void onResponse(LogicalPlan analyzedPlan) {
187187
LogicalPlan optimizedPlan = optimizedPlan(analyzedPlan);
188188
preMapper.preMapper(
189189
optimizedPlan,
190-
listener.delegateFailureAndWrap(
191-
(l, p) -> executeOptimizedPlan(request, executionInfo, planRunner, p, l)
192-
)
190+
listener.delegateFailureAndWrap((l, p) -> executeOptimizedPlan(request, executionInfo, planRunner, p, l))
193191
);
194192
}
195193
}

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2157,8 +2157,7 @@ public void testKnnWithExplicitLimit() {
21572157
var fieldExtractExec2 = as(topNExec2.child(), FieldExtractExec.class);
21582158
var queryExec = as(fieldExtractExec2.child(), EsQueryExec.class);
21592159
assertNull(queryExec.limit());
2160-
var expectedQuery = boolQuery()
2161-
.should(new KnnVectorQueryBuilder("dense_vector", new float[] { 0f, 1f, 2f }, 140, null, null, null))
2160+
var expectedQuery = boolQuery().should(new KnnVectorQueryBuilder("dense_vector", new float[] { 0f, 1f, 2f }, 140, null, null, null))
21622161
.should(matchQuery("text", "blue").lenient(true));
21632162
assertEquals(expectedQuery.toString(), queryExec.query().toString());
21642163
}

0 commit comments

Comments
 (0)