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,18 @@
# name: test/sql/storage/bc/internal_schemas_0102.test
# description: Verify internal schemas are not duplicated in the main schema when reading older databases
# group: [bc]
# The database is written with a vector size of 2048.
require vector_size 2048
unzip data/storage/bc_0102.db.gz __TEST_DIR__/bc_0102.db
load __TEST_DIR__/bc_0102.db readonly
statement ok
PRAGMA enable_verification
query II
SELECT database_name, schema_name FROM duckdb_schemas WHERE NOT internal
----
bc_0102 s1

View File

@@ -0,0 +1,34 @@
# name: test/sql/storage/bc/test_view_v092.test
# description: Test reading database with views
# group: [bc]
# The database is written with a vector size of 2048.
require vector_size 2048
load data/storage/views_092.db readonly
statement ok
PRAGMA enable_verification
# query the views directly
query I
SELECT * FROM v1
----
query I
SELECT * FROM v2
----
query I
SELECT * FROM v3
----
# run metadata functions
statement ok
SHOW TABLES
statement ok
FROM duckdb_views()
statement ok
FROM duckdb_columns()