Commit 5efb427
authored
fix: apply column-level tags for V1 table materialization (#1346)
## Summary
- Fixes #1307 — column-level `databricks_tags` were silently ignored for
tables using the V1 (default) materialization path
- The V1 table materialization was missing the `apply_column_tags()`
call that the view, V2 table, streaming table, and materialized view
materializations all have
## Test plan
- [x] `TestColumnTagsTableV1` — Added V1-specific functional test
- [x] Existing test suite passes;`TestColumnTagsTableV2` — confirms V2
path is unaffected, `TestColumnTagsViewV1` — confirms views still work
correctly1 parent 4698055 commit 5efb427
2 files changed
Lines changed: 15 additions & 0 deletions
File tree
- dbt/include/databricks/macros/materializations
- tests/functional/adapter/column_tags
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
0 commit comments