[Core] Adapter support for query cancellation affects behavior of --fail-fast
#5411
Labels
content
Improvements or additions to content
dbt Core
The changes proposed in this issue relate to dbt Core
size: medium
This change will take up to a week to address
Link to the page(s) on docs.getdbt.com requiring updates
https://docs.getdbt.com/reference/global-configs/failing-fast
Tell us more about this update
The docs currently say:
But this is only true if the adapter supports query cancellation.
So we should update our docs to soften the language and explain how it will behave differently depending on the capabilities of the dbt adapter that is being used.
An example
For example, dbt-postgres behaves as currently described in the docs and cancels any queries that are running concurrently:
But dbt-duckdb allows any concurrently running query to finish (rather than cancelling them):
dbt-duckdb gives this specific warning when
--fail-fast
is specified and there is an exception:Reviewers/Stakeholders/SMEs
.
Related GitHub issues
dbt-labs/dbt-core#10057
Additional information
No response
The text was updated successfully, but these errors were encountered: