Skip to content

Commit b319224

Browse files
committed
add test to see creating a new table works
1 parent 4cefdbe commit b319224

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/sql/catalog/test_querying_from_detached_catalog.test

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ FROM db2.main.tbl;
4545
1 2
4646
3 4
4747

48+
# creating a new table in db2 works
49+
statement ok con1
50+
CREATE TABLE db2.tbl2 AS SELECT 42;
51+
4852
# error message should say that the table does not exist
4953
statement error con1
5054
FROM db2.non_existent_table;

0 commit comments

Comments
 (0)