Skip to content
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

add snapshot page detailing legacy syntax #6803

Merged
merged 28 commits into from
Mar 4, 2025
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
c205a95
add new legacy page
mirnawong1 Jan 6, 2025
2d2a428
format legacy page
mirnawong1 Jan 14, 2025
9889082
refine legacy page
mirnawong1 Jan 21, 2025
5d66d62
updates to snapshot legacy page
mirnawong1 Jan 21, 2025
8a7ba4f
Merge branch 'current' into legacy-snapshot-jinja
mirnawong1 Jan 22, 2025
1c081a9
Update website/docs/docs/build/snapshots.md
mirnawong1 Jan 22, 2025
47e0f67
Update website/docs/docs/build/snapshots.md
mirnawong1 Jan 22, 2025
1085f49
Update website/docs/reference/resource-configs/snapshots-jinja-legacy.md
mirnawong1 Jan 22, 2025
58f6f26
Update website/docs/reference/resource-configs/snapshots-jinja-legacy.md
mirnawong1 Jan 22, 2025
4dd74f0
Update website/docs/reference/resource-configs/snapshots-jinja-legacy.md
mirnawong1 Jan 22, 2025
1bd4c3e
Merge branch 'current' into legacy-snapshot-jinja
mirnawong1 Feb 7, 2025
2c496c5
Merge branch 'current' into legacy-snapshot-jinja
mirnawong1 Feb 18, 2025
5147de8
Merge branch 'current' into legacy-snapshot-jinja
mirnawong1 Feb 18, 2025
4b2499a
update
mirnawong1 Feb 19, 2025
f7fed45
Merge branch 'current' into legacy-snapshot-jinja
mirnawong1 Feb 27, 2025
5af0e10
Merge branch 'current' into legacy-snapshot-jinja
mirnawong1 Mar 3, 2025
f293e47
joels feedback
mirnawong1 Mar 3, 2025
3996f2c
Merge branch 'legacy-snapshot-jinja' of github.com:dbt-labs/docs.getd…
mirnawong1 Mar 3, 2025
536cdee
remove dup
mirnawong1 Mar 3, 2025
951e2fc
Merge branch 'current' into legacy-snapshot-jinja
nataliefiann Mar 3, 2025
b435d0d
Update website/docs/docs/build/snapshots.md
mirnawong1 Mar 4, 2025
53a4eb2
Update website/docs/docs/build/snapshots.md
mirnawong1 Mar 4, 2025
3508a2c
Update website/docs/docs/build/snapshots.md
mirnawong1 Mar 4, 2025
a15d43f
Merge branch 'current' into legacy-snapshot-jinja
mirnawong1 Mar 4, 2025
a468ff8
fold natalie joel feedback
mirnawong1 Mar 4, 2025
dc9f7d7
add quotes
mirnawong1 Mar 4, 2025
bb9d63e
Merge branch 'current' into legacy-snapshot-jinja
mirnawong1 Mar 4, 2025
e9e8431
Update website/docs/reference/resource-configs/snapshots-jinja-legacy.md
mirnawong1 Mar 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update website/docs/docs/build/snapshots.md
mirnawong1 authored Jan 22, 2025
commit 1c081a986777145b189b079b1640e6703f89e138
2 changes: 1 addition & 1 deletion website/docs/docs/build/snapshots.md
Original file line number Diff line number Diff line change
@@ -79,7 +79,7 @@ The following table outlines the configurations available for snapshots in versi
| [updated_at](/reference/resource-configs/updated_at) | If using the `timestamp` strategy, the timestamp column to compare | Only if using the `timestamp` strategy | updated_at |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[custom.Typos] Oops there's a typo -- did you really mean 'updated_at'?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[custom.Typos] Oops there's a typo -- did you really mean 'updated_at'?

| [invalidate_hard_deletes](/reference/resource-configs/invalidate_hard_deletes) | Find hard deleted records in source, and set `dbt_valid_to` current time if no longer exists | No | True |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[custom.Typos] Oops there's a typo -- did you really mean 'invalidate_hard_deletes'?


- A number of other configurations are also supported (e.g. `tags` and `post-hook`), check out the full list [here](/reference/snapshot-configs).
- A number of other configurations are also supported (like `tags` and `post-hook`), check out the full list [here](/reference/snapshot-configs).
- Snapshots can be configured from both your `dbt_project.yml` file and a `config` block, check out the [configuration docs](/reference/snapshot-configs) for more information.
- Note: BigQuery users can use `target_project` and `target_dataset` as aliases for `target_database` and `target_schema`, respectively.


Unchanged files with check annotations Beta

version: dbtVersion,
EOLDate,
isPrerelease,
latestStableRelease,

Check warning on line 43 in website/src/theme/DocRoot/Layout/Main/index.js

GitHub Actions / eslint-check

'latestStableRelease' is assigned a value but never used
} = useContext(VersionContext);
const {
pageAvailable,

Check warning on line 47 in website/src/theme/DocRoot/Layout/Main/index.js

GitHub Actions / eslint-check

'pageAvailable' is assigned a value but never used
firstAvailableVersion,
lastAvailableVersion

Check warning on line 49 in website/src/theme/DocRoot/Layout/Main/index.js

GitHub Actions / eslint-check

'lastAvailableVersion' is assigned a value but never used
} = pageVersionCheck(dbtVersion, versionedPages, currentDocRoute);
const hasFirstAvailableVersion =

Check warning on line 52 in website/src/theme/DocRoot/Layout/Main/index.js

GitHub Actions / eslint-check

'hasFirstAvailableVersion' is assigned a value but never used
firstAvailableVersion && firstAvailableVersion !== "0";
// Check whether this version is a isPrerelease, and show banner if so