Skip to content

Commit

Permalink
Setting snapshot config for dbt Cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
pgoslatara committed Sep 25, 2024
1 parent 9033f56 commit 288bfc5
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 13 deletions.
6 changes: 4 additions & 2 deletions dbt_project/snapshots/orders_snapshot.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

{{
config(
target_database="dbt",
target_schema="snapshots",
target_database=(
"dbt" if target.type == "duckdb" else "padraic-slattery-sndbx-o"
),
target_schema="dbt_pslattery",
unique_key="id",
strategy="timestamp",
updated_at="order_date",
Expand Down
2 changes: 1 addition & 1 deletion dbt_project/target/manifest.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dbt_project/target/run_results.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/dbt_16/target/catalog.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/dbt_16/target/manifest.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/dbt_16/target/run_results.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/dbt_17/target/catalog.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/dbt_17/target/manifest.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/dbt_17/target/run_results.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/dbt_18/target/catalog.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/dbt_18/target/manifest.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/dbt_18/target/run_results.json

Large diffs are not rendered by default.

0 comments on commit 288bfc5

Please sign in to comment.