should be it

This commit is contained in:
2025-10-24 19:21:19 -05:00
parent a4b23fc57c
commit f09560c7b1
14047 changed files with 3161551 additions and 1 deletions

View File

@@ -0,0 +1,28 @@
# name: test/sql/select/test_schema_reference.test
# description: Test schema reference in column reference
# group: [select]
statement ok
PRAGMA enable_verification
statement ok
CREATE SCHEMA s1;
statement ok
CREATE TABLE s1.tbl(i INTEGER)
# standard schema reference
statement ok
SELECT s1.tbl.i FROM s1.tbl;
# schema mismatch
statement error
SELECT s2.tbl.i FROM s1.tbl;
----
<REGEX>:.*Binder Error.*table.*not found.*
# no schema present
statement error
SELECT a.tbl.i FROM range(10) tbl(i)
----
<REGEX>:.*Binder Error.*table.*not found.*