Skip to content

Commit 75f54a4

Browse files
authored
ESQL: stabilise one FORK test (#126604)
Add sorting on a MV result set in ForkIT#testWithStatsSimple
1 parent 3231eb2 commit 75f54a4

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action

1 file changed

+1
-1
lines changed

x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/ForkIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ public void testWithEvalDifferentOutputs() {
544544
public void testWithStatsSimple() {
545545
var query = """
546546
FROM test
547-
| FORK (STATS x=COUNT(*), y=VALUES(id))
547+
| FORK (STATS x=COUNT(*), y=MV_SORT(VALUES(id)))
548548
(WHERE id == 2)
549549
| KEEP _fork, x, y, id
550550
| SORT _fork, id

0 commit comments

Comments
 (0)