diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-26 08:12:56 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-26 08:12:56 +0000 |
commit | d1db1c46fc67b1ff310a4067326e03a0063c8750 (patch) | |
tree | 288b386b87ee32146898bf2b8ad870a8f4fc118a /tests/fixtures/identity.sql | |
parent | Releasing debian version 25.8.1-1. (diff) | |
download | sqlglot-d1db1c46fc67b1ff310a4067326e03a0063c8750.tar.xz sqlglot-d1db1c46fc67b1ff310a4067326e03a0063c8750.zip |
Merging upstream version 25.16.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/fixtures/identity.sql')
-rw-r--r-- | tests/fixtures/identity.sql | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/fixtures/identity.sql b/tests/fixtures/identity.sql index 7892adb..20cbe7f 100644 --- a/tests/fixtures/identity.sql +++ b/tests/fixtures/identity.sql @@ -776,6 +776,10 @@ ALTER TABLE orders DROP PARTITION(dt = '2014-05-14', country = 'IN'), PARTITION( ALTER TABLE mydataset.mytable DELETE WHERE x = 1 ALTER TABLE table1 RENAME COLUMN c1 TO c2 ALTER TABLE table1 RENAME COLUMN IF EXISTS c1 TO c2 +ALTER TABLE table1 RENAME TO table2 +ALTER VIEW view1 AS SELECT a, b, c FROM table1 +ALTER VIEW view1 AS SELECT a, b, c FROM table1 UNION ALL SELECT a, b, c FROM table2 +ALTER VIEW view1 AS SELECT a, b, c FROM table1 UNION ALL SELECT a, b, c FROM table2 LIMIT 100 SELECT div.a FROM test_table AS div WITH view AS (SELECT 1 AS x) SELECT * FROM view ARRAY<STRUCT<INT, DOUBLE, ARRAY<INT>>> @@ -872,4 +876,5 @@ SELECT cube, cube.x FROM cube SELECT * FROM a STRAIGHT_JOIN b SELECT COUNT(DISTINCT "foo bar") FROM (SELECT 1 AS "foo bar") AS t SELECT vector -WITH all AS (SELECT 1 AS count) SELECT all.count FROM all
\ No newline at end of file +WITH all AS (SELECT 1 AS count) SELECT all.count FROM all +SELECT rename
\ No newline at end of file |