From 0bb59fd075a41c277aaf1f9bf6c0aebf0fd2e228 Mon Sep 17 00:00:00 2001 From: Michelle Ark Date: Wed, 11 Sep 2024 13:48:01 -0400 Subject: [PATCH] add microbatch tests --- pyproject.toml | 4 ++-- tests/functional/adapter/test_incremental_microbatch.py | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 tests/functional/adapter/test_incremental_microbatch.py diff --git a/pyproject.toml b/pyproject.toml index e6848a4..422d7ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,8 +56,8 @@ path = "dbt/adapters/postgres/__version__.py" dependencies = [ "dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git", "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@base-microbatch-tests#subdirectory=dbt-tests-adapter", + "dbt-core @ git+https://github.com/dbt-labs/dbt-core.git@poc-microbatch-merge#subdirectory=core", 'pre-commit==3.7.0;python_version>="3.9"', 'pre-commit==3.5.0;python_version=="3.8"', "freezegun", diff --git a/tests/functional/adapter/test_incremental_microbatch.py b/tests/functional/adapter/test_incremental_microbatch.py new file mode 100644 index 0000000..9d7083e --- /dev/null +++ b/tests/functional/adapter/test_incremental_microbatch.py @@ -0,0 +1,6 @@ +from dbt.tests.adapter.incremental.test_incremental_microbatch import ( + BaseMicrobatch, +) + +class TestPostgresMicrobatch(BaseMicrobatch): + pass