Skip to content

Commit

Permalink
Update website/docs/docs/build/snapshots.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Feb 4, 2025
1 parent fc2b8cf commit defdf85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/docs/build/snapshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ snapshots:

In this example:

- If there is any change in at least one of the specified `check_cols`, then a new row is created in the snapshot. If the provided `updated_at` column value is not null, it will be used; otherwise, the timestamp will be used.
- If at least one of the specified `check_cols `changes, the snapshot creates a new row. If the `updated_at` column has a value (is not null), the snapshot uses it; otherwise, it defaults to the timestamp.
- If `updated_at` isn’t set, then dbt automatically falls back to [using the current timestamp](#sample-results-for-the-check-strategy) to track changes.
- Use this approach when your `updated_at` column isn't reliable for tracking record updates, but you still want to use it — rather than the snapshot's execution time — whenever row changes are detected.

Expand Down

0 comments on commit defdf85

Please sign in to comment.