Skip to content

Commit 4c30217

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent f073aa2 commit 4c30217

File tree

1 file changed

+1
-7
lines changed
  • x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/grouping

1 file changed

+1
-7
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/grouping/Bucket.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -301,13 +301,7 @@ public boolean foldable() {
301301
@Override
302302
public ExpressionEvaluator.Factory toEvaluator(ToEvaluator toEvaluator) {
303303
if (field.dataType() == DataType.DATETIME || field.dataType() == DataType.DATE_NANOS) {
304-
Rounding.Prepared preparedRounding = getDateRounding(
305-
field,
306-
buckets,
307-
from,
308-
to,
309-
toEvaluator.foldCtx()
310-
);
304+
Rounding.Prepared preparedRounding = getDateRounding(field, buckets, from, to, toEvaluator.foldCtx());
311305
return DateTrunc.evaluator(field.dataType(), source(), toEvaluator.apply(field), preparedRounding);
312306
}
313307
if (field.dataType().isNumeric()) {

0 commit comments

Comments
 (0)