From 3e74581b9ab1e322e3bdc8341320801651f17429 Mon Sep 17 00:00:00 2001 From: Quigley Malcolm Date: Fri, 11 Oct 2024 17:03:53 -0500 Subject: [PATCH 1/2] Temprorarily point at microbatch-behavior-flag branch of dbt-adapters --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 726dc64a..8f241971 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,10 +54,10 @@ path = "dbt/adapters/postgres/__version__.py" [tool.hatch.envs.default] dependencies = [ - "dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git", + "dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git@microbatch-behavior-flag", "dbt-common @ git+https://github.com/dbt-labs/dbt-common.git", - "dbt-tests-adapter @ git+https://github.com/dbt-labs/dbt-adapters.git#subdirectory=dbt-tests-adapter", - "dbt-core @ git+https://github.com/dbt-labs/dbt-core.git#subdirectory=core", + "dbt-tests-adapter @ git+https://github.com/dbt-labs/dbt-adapters.git@microbatch-behavior-flag#subdirectory=dbt-tests-adapter", + "dbt-core @ git+https://github.com/dbt-labs/dbt-core.git@microbatch-project-flags#subdirectory=core", 'pre-commit==3.7.0;python_version>="3.9"', 'pre-commit==3.5.0;python_version=="3.8"', "freezegun", From 8665fa41b47aafe741651cab621c0b57a455847c Mon Sep 17 00:00:00 2001 From: Quigley Malcolm Date: Mon, 14 Oct 2024 14:41:11 -0500 Subject: [PATCH 2/2] Update microbatch tests to utilize updates to dbt-tests-adapter --- tests/functional/adapter/test_incremental_microbatch.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/functional/adapter/test_incremental_microbatch.py b/tests/functional/adapter/test_incremental_microbatch.py index ce5855b6..e1cd7478 100644 --- a/tests/functional/adapter/test_incremental_microbatch.py +++ b/tests/functional/adapter/test_incremental_microbatch.py @@ -3,5 +3,8 @@ ) -class TestPostgresMicrobatch(BaseMicrobatch): +class TestPostgresMicrobatchOn(BaseTestMicrobatchOn): + pass + +class TestPostgresMicrobatchOff(BaseTestMicrobatchOff): pass