Skip to content

Commit 03cc2d0

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent f58d40a commit 03cc2d0

File tree

1 file changed

+6
-3
lines changed
  • x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer

1 file changed

+6
-3
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/PreOptimizer.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,12 @@ private void foldInferenceFunctions(LogicalPlan plan, ActionListener<LogicalPlan
7878

7979
// Prepare a listener that will be called when all inference functions are done.
8080
// This listener will replace the inference functions in the plan with their results.
81-
CountDownActionListener completionListener = new CountDownActionListener(inferenceFunctions.size(), listener.map(ignored ->
82-
plan.transformExpressionsUp(InferenceFunction.class, f -> inferenceFunctionsToResults.getOrDefault(f, f))
83-
));
81+
CountDownActionListener completionListener = new CountDownActionListener(
82+
inferenceFunctions.size(),
83+
listener.map(
84+
ignored -> plan.transformExpressionsUp(InferenceFunction.class, f -> inferenceFunctionsToResults.getOrDefault(f, f))
85+
)
86+
);
8487

8588
// Try to compute the result for each inference function.
8689
for (InferenceFunction<?> inferenceFunction : inferenceFunctions) {

0 commit comments

Comments
 (0)