should be it
This commit is contained in:
21
external/duckdb/test/sql/table_function/duckdb_schemas.test
vendored
Normal file
21
external/duckdb/test/sql/table_function/duckdb_schemas.test
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# name: test/sql/table_function/duckdb_schemas.test
|
||||
# description: Test duckdb_schemas function
|
||||
# group: [table_function]
|
||||
|
||||
query I
|
||||
SELECT COUNT(*) FROM duckdb_schemas;
|
||||
----
|
||||
0
|
||||
|
||||
statement ok
|
||||
CREATE SCHEMA scheme;
|
||||
|
||||
query I
|
||||
SELECT COUNT(*) FROM duckdb_schemas() WHERE schema_name='scheme';
|
||||
----
|
||||
1
|
||||
|
||||
query I
|
||||
SELECT COUNT(*) FROM duckdb_schemas WHERE schema_name='scheme';
|
||||
----
|
||||
1
|
||||
Reference in New Issue
Block a user