Skip to content

Commit fd45c61

Browse files
committed
fix: include key-only tag in merge fixture
1 parent 52d4600 commit fd45c61

3 files changed

Lines changed: 5 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
- Add support for Python UDFs ([#1336](https://github.com/databricks/dbt-databricks/pull/1336))
88
- Add support for key-only `databricks_tags` for table and column tagging. This can now be configured by setting tag values to empty strings `""` or `None`. ([#1339](https://github.com/databricks/dbt-databricks/pull/1339))
99

10+
### Under the Hood
11+
12+
- **BREAKING:** `databricks_tags` defined at different hierarchy levels (e.g. project-level and model-level) now merge additively instead of the child config completely replacing the parent.
13+
1014
## dbt-databricks 1.11.7 (Apr 17, 2026)
1115

1216
### Features
@@ -43,11 +47,6 @@
4347
- Fix catalog names with special characters (e.g., hyphens) not being quoted in `SHOW SCHEMAS` commands, causing `INVALID_IDENTIFIER` errors ([#1325](https://github.com/databricks/dbt-databricks/issues/1325))
4448
- Fix liquid clustering rendering on streaming table materialization [#1330](https://github.com/databricks/dbt-databricks/pull/1330)
4549

46-
### Under the Hood
47-
48-
- **BREAKING:** `databricks_tags` defined at different hierarchy levels (e.g. project-level and model-level) now merge additively instead of the child config completely replacing the parent.
49-
50-
5150
## dbt-databricks 1.11.5 (Feb 19, 2026)
5251

5352
### Fixes

tests/functional/adapter/tags/fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
tags_merged_sql = """
2020
{{ config(
2121
materialized = 'table',
22-
databricks_tags = {'c': 'd'},
22+
databricks_tags = {'c': 'd', 'k': ''},
2323
) }}
2424
2525
select cast(1 as bigint) as id, 'hello' as msg, 'blue' as color

tests/functional/adapter/tags/test_databricks_tags.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ def test_updated_tags(self, project):
6464

6565
@pytest.mark.skip_profile("databricks_cluster")
6666
class TestTableTagsMerged(BaseTestTags):
67-
6867
@pytest.fixture(scope="class")
6968
def models(self):
7069
return {"tags.sql": fixtures.tags_merged_sql}

0 commit comments

Comments
 (0)