Closed
Description
What happens?
Hi and thanks for this amazing project.
Seems like exporting databases containing type declarations is currently broken.
To Reproduce
To reproduce the issue:
create type one as text;
create type two as text;
export database 'typeissue';
Then in a new DB:
import database 'typeissue';
This results in:
Parser Error:
syntax error at or near "CREATE"
LINE 1: import database 'typeissue';
Semicolons are missing in schema.sql
. Contents:
CREATE TYPE one AS VARCHAR
CREATE TYPE two AS VARCHAR
OS:
x86_64
DuckDB Version:
v1.2.0 5f5512b827
DuckDB Client:
CLI
Hardware:
No response
Full Name:
Jorin Vogel
Affiliation:
taleshape.com
What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.
I have tested with a stable release
Did you include all relevant data sets for reproducing the issue?
Yes
Did you include all code required to reproduce the issue?
- Yes, I have
Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?
- Yes, I have