Merging upstream version 25.29.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
de8c8a17d0
commit
1e53504dfc
97 changed files with 64720 additions and 61752 deletions
20
tests/fixtures/optimizer/qualify_tables.sql
vendored
20
tests/fixtures/optimizer/qualify_tables.sql
vendored
|
@ -14,6 +14,26 @@ SELECT 1 FROM x.y.z AS z;
|
|||
SELECT 1 FROM x.y.z AS z;
|
||||
SELECT 1 FROM x.y.z AS z;
|
||||
|
||||
# title: only information schema
|
||||
# dialect: bigquery
|
||||
SELECT * FROM information_schema.tables;
|
||||
SELECT * FROM c.db.`information_schema.tables` AS tables;
|
||||
|
||||
# title: information schema with db
|
||||
# dialect: bigquery
|
||||
SELECT * FROM y.information_schema.tables;
|
||||
SELECT * FROM c.y.`information_schema.tables` AS tables;
|
||||
|
||||
# title: information schema with db, catalog
|
||||
# dialect: bigquery
|
||||
SELECT * FROM x.y.information_schema.tables;
|
||||
SELECT * FROM x.y.`information_schema.tables` AS tables;
|
||||
|
||||
# title: information schema with db, catalog, alias
|
||||
# dialect: bigquery
|
||||
SELECT * FROM x.y.information_schema.tables AS z;
|
||||
SELECT * FROM x.y.`information_schema.tables` AS z;
|
||||
|
||||
# title: redshift unnest syntax, z.a should be a column, not a table
|
||||
# dialect: redshift
|
||||
SELECT 1 FROM y.z AS z, z.a;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue