-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Bug] dbt retry does not respect --threads #10584
Comments
Thanks for reaching out about this @barberscott ! Was able to reproduce what you described. Agreed that
|
Hey @dbeatty10, |
Thanks for raising a PR @donjin-master ! We haven't assigned an engineer to review yet, but when we do, it will show up in the PR in this section: |
Is this a new bug in dbt-core?
Current Behavior
Sometimes concurrency can be the cause of failures (e.g. database OOM, connection timeouts) and I would want to retry with a lower --threads value. dbt does not respect a new --threads value when passed in on a retry.
Expected Behavior
Expect that --threads is respected on retry, otherwise if not passed, re-use same threads from the previous invocation of dbt.
Steps To Reproduce
dbt build --threads 10
dbt retry --threads 1
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
other (mention it in "Additional Context")
Additional Context
Using clickhouse adapter currently
The text was updated successfully, but these errors were encountered: