From 948a422be120c069e48c63a8770fec7204307897 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 19 Dec 2023 12:01:36 +0100 Subject: Adding upstream version 20.3.0. Signed-off-by: Daniel Baumann --- tests/fixtures/identity.sql | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/fixtures/identity.sql') diff --git a/tests/fixtures/identity.sql b/tests/fixtures/identity.sql index effebca..228f109 100644 --- a/tests/fixtures/identity.sql +++ b/tests/fixtures/identity.sql @@ -865,5 +865,8 @@ KILL CONNECTION 123 KILL QUERY '123' CHR(97) SELECT * FROM UNNEST(x) WITH ORDINALITY UNION ALL SELECT * FROM UNNEST(y) WITH ORDINALITY +SELECT x FROM t1 UNION ALL SELECT x FROM t2 LIMIT 1 +SELECT x FROM t1 UNION ALL SELECT x FROM t2 UNION ALL SELECT x FROM t3 LIMIT 1 WITH use(use) AS (SELECT 1) SELECT use FROM use SELECT recursive FROM t +SELECT (ROW_NUMBER() OVER (PARTITION BY user ORDER BY date ASC) - ROW_NUMBER() OVER (PARTITION BY user, segment ORDER BY date ASC)) AS group_id FROM example_table -- cgit v1.2.3