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] Permit text becoming keyword in TS aggs grouping (#136242)
When running aggregations under the TS command and grouping by a text
field, the FieldAttribute representing the text field gets replaced by a
ReferenceAttribute containing an Alias to `Values(text_field)`, which is
an aggregation. Aggregations will always return KEYWORD types rather than
TEXT types, so we want to allow this change in types in this specific
circumstance.
Closes#134794
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
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -78,8 +78,7 @@ public abstract class GenerativeRestTest extends ESRestTestCase implements Query
78
78
"time_series aggregate.* can only be used with the TS command",
79
79
"Invalid call to dataType on an unresolved object \\?LASTOVERTIME", // https://github.com/elastic/elasticsearch/issues/134791
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/PostOptimizationPhasePlanVerifier.java
0 commit comments