Skip to content
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

Make keep_open: true the default setting for dbt-duckdb going forward #502

Merged
merged 3 commits into from
Jan 21, 2025

Conversation

jwills
Copy link
Collaborator

@jwills jwills commented Jan 21, 2025

Recent versions of DuckDB (>= 1.13) seem to perform better/more reliably when we leave the connection to the DuckDB file open for the entire DuckDB run vs. the old behavior of having different threads open/close the file in rapid succession, so moving to a model where we generally take ownership of the DuckDB file for the length of any dbt run unless explictly told not to in the profiles.yml.

@jwills jwills requested a review from guenp January 21, 2025 19:14
@jwills
Copy link
Collaborator Author

jwills commented Jan 21, 2025

@guenp that plugins test is failing for delta tables for seemingly unrelated reasons (i tested it w/ and w/o the keep_open settings in place)

@guenp guenp merged commit 2634221 into master Jan 21, 2025
32 of 33 checks passed
@guenp guenp deleted the jwills_make_keep_open_true_the_default branch January 21, 2025 21:09
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.

2 participants