diff --git a/.changes/unreleased/Under the Hood-20240717-101601.yaml b/.changes/unreleased/Under the Hood-20240717-101601.yaml new file mode 100644 index 000000000..c40cc0c8f --- /dev/null +++ b/.changes/unreleased/Under the Hood-20240717-101601.yaml @@ -0,0 +1,6 @@ +kind: Under the Hood +body: create test for checking case sensitivity on incrmeneal models that add new columns +time: 2024-07-17T10:16:01.119077-05:00 +custom: + Author: McKnight-42 + Issue: "1277" diff --git a/dev-requirements.txt b/dev-requirements.txt index cf7b1b87c..7b70b9246 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -2,8 +2,8 @@ # TODO: how to automate switching from develop to version branches? git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-core&subdirectory=core git+https://github.com/dbt-labs/dbt-common.git -git+https://github.com/dbt-labs/dbt-adapters.git -git+https://github.com/dbt-labs/dbt-adapters.git#subdirectory=dbt-tests-adapter +git+https://github.com/dbt-labs/dbt-adapters.git@mcknight/ct-2819 +git+https://github.com/dbt-labs/dbt-adapters.git@mcknight/ct-2819#subdirectory=dbt-tests-adapter # if version 1.x or greater -> pin to major version # if version 0.x -> pin to minor black>=24.3 diff --git a/tests/functional/adapter/incremental/test_incremental_on_schema_change.py b/tests/functional/adapter/incremental/test_incremental_on_schema_change.py index 65e855241..f664e6428 100644 --- a/tests/functional/adapter/incremental/test_incremental_on_schema_change.py +++ b/tests/functional/adapter/incremental/test_incremental_on_schema_change.py @@ -3,8 +3,8 @@ from dbt.tests.adapter.incremental.test_incremental_on_schema_change import ( BaseIncrementalOnSchemaChangeSetup, BaseIncrementalOnSchemaChange, + BaseIncrementalCaseSenstivityOnSchemaChange, ) - from dbt.tests.adapter.incremental.fixtures import ( _MODELS__A, _MODELS__INCREMENTAL_SYNC_ALL_COLUMNS_TARGET, @@ -251,3 +251,7 @@ def test_run_incremental_sync_all_columns_time_ingestion_partitioning(self, proj compare_source = "incremental_sync_all_columns_time_ingestion_partitioning" compare_target = "incremental_sync_all_columns_time_ingestion_partitioning_target" self.run_twice_and_assert(select, compare_source, compare_target, project) + + +class TestIncrementalCaseSenstivityOnSchemaChange(BaseIncrementalCaseSenstivityOnSchemaChange): + pass