Skip to content

Commit

Permalink
Explain how transactions (and rollbacks) are handled for incremental …
Browse files Browse the repository at this point in the history
…strategies
  • Loading branch information
dbeatty10 authored Dec 14, 2023
1 parent 8499d54 commit 52f79f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/docs/build/incremental-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ dbt's incremental materialization works differently on different databases. Wher

On warehouses that do not support `merge` statements, a merge is implemented by first using a `delete` statement to delete records in the target table that are to be updated, and then an `insert` statement.

Transaction management is used to ensure this is executed as a single unit of work.
On data platforms that support it, transaction management is used to ensure this is executed as a single unit of work. dbt will roll back open transactions and restore the database to a good state if any statement within the materialization fails.

## What if the columns of my incremental model change?

Expand Down

0 comments on commit 52f79f9

Please sign in to comment.