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
[ES|QL] Modify GenerativeMetrics test and unmute (#136932)
This commit modifies the GenerativeMetrics test to avoid certain
illegal queries, adds a few more allowed error messages, and
unmutes the test in general.
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/GenerativeRestTest.java
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,9 @@ public abstract class GenerativeRestTest extends ESRestTestCase implements Query
81
81
"time-series.*the first aggregation.*is not allowed",
82
82
"count_star .* can't be used with TS command",
83
83
"time_series aggregate.* can only be used with the TS command",
84
-
"implicit time-series aggregation function .* doesn't support type .*"
84
+
"implicit time-series aggregation function .* doesn't support type .*",
85
+
"INLINE STATS .* can only be used after STATS when used with TS command",
86
+
"cannot group by a metric field .* in a time-series aggregation"
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/generator/EsqlQueryGenerator.java
+15-19Lines changed: 15 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -133,28 +133,24 @@ public static void generatePipeline(
0 commit comments