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 callout for net new snapshots #6521

Merged
merged 43 commits into from
Dec 4, 2024
Merged
Changes from 7 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
befa7b5
add callout for net new
mirnawong1 Nov 21, 2024
0697083
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 25, 2024
0ff5771
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 25, 2024
4127104
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 25, 2024
5a736c5
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 25, 2024
6746196
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 25, 2024
64d56e2
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 25, 2024
0347fd3
turn to snippet
mirnawong1 Nov 25, 2024
576af99
Update website/docs/reference/snapshot-configs.md
mirnawong1 Nov 25, 2024
2532cad
update grace feedback
mirnawong1 Nov 25, 2024
472d5c0
update'
mirnawong1 Nov 25, 2024
eee70d8
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 26, 2024
02fd890
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 26, 2024
1ca7c4e
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 26, 2024
43386c6
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 26, 2024
832ef12
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 26, 2024
91c3bb9
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 27, 2024
14690e0
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 27, 2024
7e68e91
update to snapshot configs
mirnawong1 Nov 27, 2024
6d2a38d
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 27, 2024
38762c1
Update website/docs/reference/snapshot-configs.md
mirnawong1 Nov 27, 2024
bdf2850
Update website/docs/reference/snapshot-configs.md
mirnawong1 Nov 27, 2024
6a84a7f
Update website/docs/reference/snapshot-configs.md
mirnawong1 Nov 27, 2024
37efd7a
Update website/snippets/_snapshots-yaml-config.md
mirnawong1 Nov 27, 2024
7eb3bf1
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 27, 2024
2fba6cc
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 27, 2024
ad3b3bd
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 28, 2024
5d3b48f
update
mirnawong1 Nov 28, 2024
b84f4a5
remove iimport
mirnawong1 Nov 28, 2024
915e396
Update snapshot-configs.md
mirnawong1 Nov 28, 2024
61d3792
Update snapshot-configs.md
mirnawong1 Nov 28, 2024
079378f
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 29, 2024
4c2708d
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 29, 2024
5732ff5
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 29, 2024
a8760c4
Merge branch 'current' into net-new-snapshots
mirnawong1 Nov 29, 2024
7dd144d
Merge branch 'current' into net-new-snapshots
mirnawong1 Dec 3, 2024
c491818
add link
mirnawong1 Dec 3, 2024
8382836
Update website/docs/reference/snapshot-configs.md
mirnawong1 Dec 3, 2024
a9d4cc5
Update website/docs/reference/snapshot-configs.md
mirnawong1 Dec 3, 2024
944fb50
doug's feedback
mirnawong1 Dec 3, 2024
c19c1d8
empty
mirnawong1 Dec 3, 2024
839c99d
Merge branch 'current' into net-new-snapshots
mirnawong1 Dec 4, 2024
a475180
tweaks
mirnawong1 Dec 4, 2024
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
21 changes: 14 additions & 7 deletions website/docs/reference/snapshot-configs.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
* [Snapshots](/docs/build/snapshots)
* The `dbt snapshot` [command](/reference/commands/snapshot)

<!--
Parts of a snapshot:
- name
- query
-->

## Available configurations
### Snapshot-specific configurations
Expand Down Expand Up @@ -125,7 +120,7 @@

<VersionBlock firstVersion="1.9">

Configurations can be applied to snapshots using the [YAML syntax](/docs/build/snapshots), available in Versionless and dbt v1.9 and higher, in the `snapshot` directory file.
Configurations can be applied to snapshots using the [YAML syntax](/docs/build/snapshots#configuring-snapshots), available in Versionless and dbt v1.9 and higher, in the `snapshot` directory file.

Check warning on line 123 in website/docs/reference/snapshot-configs.md

View workflow job for this annotation

GitHub Actions / vale

[vale] website/docs/reference/snapshot-configs.md#L123

[custom.Typos] Oops there's a typo -- did you really mean 'v1.9'?
Raw output
{"message": "[custom.Typos] Oops there's a typo -- did you really mean 'v1.9'? ", "location": {"path": "website/docs/reference/snapshot-configs.md", "range": {"start": {"line": 123, "column": 147}}}, "severity": "WARNING"}
mirnawong1 marked this conversation as resolved.
Show resolved Hide resolved

</VersionBlock>

Expand Down Expand Up @@ -155,6 +150,17 @@

<ConfigGeneral />

:::tip
mirnawong1 marked this conversation as resolved.
Show resolved Hide resolved

Configuring snapshots in YAML is recommended for new snapshot configurations. If you have existing snapshots using the `.sql` config, they'll continue to work as expected. When you're ready to migrate to YAML, we recommend:
mirnawong1 marked this conversation as resolved.
Show resolved Hide resolved
1. Creating a backup copy of your snapshots (or using version control)
mirnawong1 marked this conversation as resolved.
Show resolved Hide resolved
2. Converting the configurations one at a time, testing as you go
3. Using `alter` statements as needed to ensure table consistency or using a script to apply the `alter` statements
mirnawong1 marked this conversation as resolved.
Show resolved Hide resolved

The YAML configuration offers improved maintainability and consistency, but there's no pressure to migrate existing snapshots immediately &mdash; feel free to do so at your own pace while ensuring data quality is maintained.
:::


<Tabs
groupId="config-languages"
defaultValue="project-yaml"
Expand All @@ -170,6 +176,7 @@

<VersionBlock firstVersion="1.9">


```yaml
snapshots:
[<resource-path>](/reference/resource-configs/resource-path):
Expand Down Expand Up @@ -256,7 +263,7 @@

<VersionBlock firstVersion="1.9">

Configurations can be applied to snapshots using [YAML syntax](/docs/build/snapshots), available in Versionless and dbt v1.9 and higher, in the `snapshot` directory file.
Configurations can be applied to snapshots using [YAML syntax](/docs/build/snapshots#configuring-snapshots), available in Versionless and dbt v1.9 and higher, in the `snapshot` directory file.

Check warning on line 266 in website/docs/reference/snapshot-configs.md

View workflow job for this annotation

GitHub Actions / vale

[vale] website/docs/reference/snapshot-configs.md#L266

[custom.Typos] Oops there's a typo -- did you really mean 'v1.9'?
Raw output
{"message": "[custom.Typos] Oops there's a typo -- did you really mean 'v1.9'? ", "location": {"path": "website/docs/reference/snapshot-configs.md", "range": {"start": {"line": 266, "column": 143}}}, "severity": "WARNING"}

</VersionBlock>

Expand Down
Loading