From f1576f491dfa3df53ae9f7d9100e345dc4a13a94 Mon Sep 17 00:00:00 2001 From: Doug Beatty Date: Tue, 10 Dec 2024 15:48:22 -0700 Subject: [PATCH 1/2] `hard_deletes` config and `new_record` option for snapshots --- tests/functional/adapter/test_simple_snapshot.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/functional/adapter/test_simple_snapshot.py b/tests/functional/adapter/test_simple_snapshot.py index 879c7b9c..76efc54c 100644 --- a/tests/functional/adapter/test_simple_snapshot.py +++ b/tests/functional/adapter/test_simple_snapshot.py @@ -2,6 +2,9 @@ BaseSimpleSnapshot, BaseSnapshotCheck, ) +from dbt.tests.adapter.simple_snapshot.new_record_mode import ( + SnapshotNewRecordMode, +) class TestSnapshot(BaseSimpleSnapshot): @@ -10,3 +13,7 @@ class TestSnapshot(BaseSimpleSnapshot): class TestSnapshotCheck(BaseSnapshotCheck): pass + + +class TestPostgresSnapshotNewRecordMode(SnapshotNewRecordMode): + pass From 7b0d6ed16908a9715b463ed1420ac35aabdb35d2 Mon Sep 17 00:00:00 2001 From: Doug Beatty Date: Tue, 10 Dec 2024 16:08:26 -0700 Subject: [PATCH 2/2] Satisfy end-of-file-fixer --- .changes/1.9.0.md | 1 - 1 file changed, 1 deletion(-) diff --git a/.changes/1.9.0.md b/.changes/1.9.0.md index ef336477..62c16b1f 100644 --- a/.changes/1.9.0.md +++ b/.changes/1.9.0.md @@ -33,4 +33,3 @@ - [@morsapaes](https://github.com/morsapaes) ([#120](https://github.com/dbt-labs/dbt-postgres/issues/120)) - [@peterallenwebb](https://github.com/peterallenwebb) ([#123](https://github.com/dbt-labs/dbt-postgres/issues/123)) - [@versusfacit](https://github.com/versusfacit) ([#85](https://github.com/dbt-labs/dbt-postgres/issues/85)) -