Skip to content

refactor: Simplify DuckDB export #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 12, 2025

Conversation

szarnyasg
Copy link
Contributor

@szarnyasg szarnyasg commented Apr 11, 2025

This PR simplifies the DuckDB export code. There are no noticeable performance changes, the only difference is that the export is accompanied with a load.sql and a (rather redundant) schema.sql file.

PS: Thanks for creating and publishing this project, it's GREAT and I'm migrating a lot of my benchmark script to use this instead of DuckDB's built-in dbgen function.

kevinjqliu

This comment was marked as duplicate.

Copy link
Collaborator

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM heres the docs for the export database statement in duckdb https://duckdb.org/docs/stable/sql/statements/export.html

@clflushopt
Copy link
Owner

clflushopt commented Apr 12, 2025

I'll have this reviewed and merged ASAP thanks for the pull request !

Edit: Reviewed, LGTM.

@clflushopt clflushopt merged commit 4ce9814 into clflushopt:main Apr 12, 2025
7 checks passed
@szarnyasg szarnyasg deleted the simplify-duckdb-example branch April 12, 2025 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants