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] Add a TS variation of GenerativeIT (#133804)
This commit adds a variation of the GenerativeRestTest in ES|QL that
queries indices marked as time series indices and runs time series
aggregations on them (amongst all the other commands already supported
in the Generative tests), with a lot of limitations.
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/EsqlQueryGenerator.java
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
+19-3Lines changed: 19 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,15 @@ public abstract class GenerativeRestTest extends ESRestTestCase {
62
62
"optimized incorrectly due to missing references", // https://github.com/elastic/elasticsearch/issues/131509
63
63
64
64
// Awaiting fixes for correctness
65
-
"Expecting at most \\[.*\\] columns, got \\[.*\\]"// https://github.com/elastic/elasticsearch/issues/129561
65
+
"Expecting at most \\[.*\\] columns, got \\[.*\\]", // https://github.com/elastic/elasticsearch/issues/129561
66
+
67
+
// TS-command tests
68
+
"time-series .* the first aggregation .* is not allowed",
69
+
"count_star .* can't be used with TS command",
70
+
"time_series aggregate.* can only be used with the TS command",
71
+
"Invalid call to dataType on an unresolved object \\?LASTOVERTIME", // https://github.com/elastic/elasticsearch/issues/134791
72
+
"class org.elasticsearch.compute.data..*Block cannot be cast to class org.elasticsearch.compute.data..*Block", // https://github.com/elastic/elasticsearch/issues/134793
73
+
"Output has changed from \\[.*\\] to \\[.*\\]"// https://github.com/elastic/elasticsearch/issues/134794
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/command/pipe/ForkGenerator.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -114,7 +114,7 @@ public ValidationResult validateOutput(
0 commit comments