Skip to content

Commit

Permalink
Merge pull request #258 from godatadriven/correct-snapshot-config
Browse files Browse the repository at this point in the history
Setting snapshot config for dbt Cloud
  • Loading branch information
pgoslatara authored Sep 25, 2024
2 parents 9033f56 + 288bfc5 commit 5628bab
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 5628bab

Please sign in to comment.