Skip to content

Commit

Permalink
unique_key applies to the input rather than the output (#4855)
Browse files Browse the repository at this point in the history
[Preview](https://docs-getdbt-com-git-dbeatty-unique-key-snapshots-dbt-labs.vercel.app/reference/resource-configs/unique_key#description)

## What are you changing in this pull request and why?

Small clarification about `unique_key` as it applies to snapshots.

## Checklist
- [x] Review the [Content style
guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md)
so my content adheres to these guidelines.
  • Loading branch information
mirnawong1 authored Feb 5, 2024
2 parents b006df1 + db15e93 commit b5f020b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/reference/resource-configs/unique_key.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ snapshots:
</File>

## Description
A column name or expression that is unique for the results of a snapshot. dbt uses this to match records between a result set and an existing snapshot, so that changes can be captured correctly.
A column name or expression that is unique for the inputs of a snapshot. dbt uses this to match records between a result set and an existing snapshot, so that changes can be captured correctly.

:::caution

Expand Down

0 comments on commit b5f020b

Please sign in to comment.