8000 EXPORT DATABASE containing types misses semicolon · Issue #16719 · duckdb/duckdb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
EXPORT DATABASE containing types misses semicolon #16719
Closed
@jorinvo

Description

@jorinvo

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0