From c2a451a622c2ec10aa260626a8bc3a5f657cd016 Mon Sep 17 00:00:00 2001 From: Takuya UESHIN Date: Thu, 22 Sep 2022 16:17:01 -0700 Subject: [PATCH 1/2] Add a test for `type_boolean` macro. --- tests/functional/adapter/utils/test_data_types.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/functional/adapter/utils/test_data_types.py b/tests/functional/adapter/utils/test_data_types.py index 9a3e0fbc8..8ca38ab1e 100644 --- a/tests/functional/adapter/utils/test_data_types.py +++ b/tests/functional/adapter/utils/test_data_types.py @@ -11,6 +11,7 @@ from dbt.tests.adapter.utils.data_types.test_type_numeric import BaseTypeNumeric from dbt.tests.adapter.utils.data_types.test_type_string import BaseTypeString from dbt.tests.adapter.utils.data_types.test_type_timestamp import BaseTypeTimestamp +from dbt.tests.adapter.utils.data_types.test_type_boolean import BaseTypeBoolean class TestTypeBigInt(BaseTypeBigInt): @@ -69,3 +70,7 @@ class TestTypeString(BaseTypeString): class TestTypeTimestamp(BaseTypeTimestamp): pass + + +class TestTypeBoolean(BaseTypeBoolean): + pass From 952a2bda4dc250f5bd89311b1069f922208bd3da Mon Sep 17 00:00:00 2001 From: Takuya UESHIN Date: Thu, 22 Sep 2022 16:21:35 -0700 Subject: [PATCH 2/2] changelog. --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b47bb3ec..41026a9ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ### Features - Support python model through run command API, currently supported materializations are table and incremental. ([dbt-labs/dbt-spark#377](https://github.com/dbt-labs/dbt-spark/pull/377), [#126](https://github.com/databricks/dbt-databricks/pull/126)) - Enable Pandas and Pandas-on-Spark DataFrames for dbt python models ([dbt-labs/dbt-spark#469](https://github.com/dbt-labs/dbt-spark/pull/469), [#181](https://github.com/databricks/dbt-databricks/pull/181)) +- Implement testing for `type_boolean` in Databricks ([dbt-labs/dbt-spark#471](https://github.com/dbt-labs/dbt-spark/pull/471), [#188](https://github.com/databricks/dbt-databricks/pull/188)) ### Under the hood - Apply "Initial refactoring of incremental materialization" ([#148](https://github.com/databricks/dbt-databricks/pull/148))