You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/ReplaceTopNAndAggregateWithTopNAggregate.java
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -15,12 +15,15 @@
15
15
importorg.elasticsearch.xpack.esql.rule.Rule;
16
16
17
17
/**
18
-
* Looks for the structure:
18
+
* Looks for:
19
19
* <pre>
20
20
* {@link TopN}
21
21
* \_{@link Aggregate}
22
22
* </pre>
23
-
* And replaces it with {@link TopNAggregate}.
23
+
* And replaces it with a {@link TopNAggregate}.
24
+
* <p>
25
+
* {@link TimeSeriesAggregate} subclass should not appear here after a {@link TopN}. See {@link TranslateTimeSeriesAggregate}.
0 commit comments