Skip to content

Commit f35c130

Browse files
committed
comment
1 parent fc0568e commit f35c130

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/TranslateTimeSeriesAggregate.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ LogicalPlan translate(TimeSeriesAggregate aggregate) {
157157
}
158158
}
159159
if (rateAggs.isEmpty()) {
160+
// no time-series aggregations, run a regular aggregation instead.
160161
return new Aggregate(aggregate.source(), aggregate.child(), aggregate.groupings(), aggregate.aggregates());
161162
}
162163
Holder<Attribute> tsid = new Holder<>();

0 commit comments

Comments
 (0)