Skip to content

Commit 88332e2

Browse files
committed
logictest: fix up recent change
Just merged 55108a1 made one query flaky: namely, we removed ORDER BY from `array_agg` so now the order of two items can be arbitrary. This commit changes the test to assert that the query succeeds (which this test is really about) without hitting an error. Release note: None
1 parent 9a4037e commit 88332e2

File tree

1 file changed

+1
-3
lines changed
  • pkg/ccl/logictestccl/testdata/logic_test

1 file changed

+1
-3
lines changed

pkg/ccl/logictestccl/testdata/logic_test/refcursor

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -693,10 +693,8 @@ SELECT lag(y) OVER w, lead(y) OVER w, first_value(y) OVER w, last_value(y) OVER
693693

694694
# Array functions are allowed (but ordering on REFCURSOR and REFCURSOR[] columns
695695
# is not).
696-
query TT
696+
statement ok
697697
SELECT array_agg(x), array_cat_agg(y) FROM t;
698-
----
699-
{foo,baz} {bar}
700698

701699
query TT rowsort
702700
SELECT array_append(y, x), array_prepend(x, y) FROM t;

0 commit comments

Comments
 (0)