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

Fix: dbt-duckdb runs SET custom_user_agent after connect #351

Conversation

guenp
Copy link
Collaborator

@guenp guenp commented Feb 29, 2024

When connecting to MotherDuck, if custom_user_agent is passed via settings in the profiles.yml file, dbt run throws an error:
image

This fix pops the value from settings if it's defined and concatenates it at the end of the existing custom_user_agent.

@jwills jwills merged commit f900c61 into duckdb:master Feb 29, 2024
29 of 30 checks passed
@guenp guenp deleted the guen/eco-70-bug-dbt-duckdb-runs-set-custom_user_agent-after-connect branch February 29, 2024 01:56
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.

None yet

2 participants