Skip to content

Commit 50c7b9d

Browse files
authored
Fix alter view dispatch (#1029)
1 parent 1368673 commit 50c7b9d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
- Fix bug with multiple not_null constraints defined on the model level ([1008](https://github.com/databricks/dbt-databricks/pull/1008))
1111
- Fix bug with temp tables not being dropped after python model is materialized ([1010](https://github.com/databricks/dbt-databricks/issues/1010))
12+
- Fix bug with alter view dispatch where dbt could not find the approprate macro ([1029](https://github.com/databricks/dbt-databricks/pull/1029))
1213

1314
## dbt-databricks 1.10.1 (Apr 29, 2025)
1415

dbt/include/databricks/macros/relations/view/alter.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% macro alter_view(target_relation, changes) %}
22
{{ log("Updating view via ALTER") }}
3-
{{ adapter.dispatch('alter_view', 'databricks')(target_relation, changes) }}
3+
{{ adapter.dispatch('alter_view', 'dbt')(target_relation, changes) }}
44
{% endmacro %}
55

66
{% macro databricks__alter_view(target_relation, changes) %}

0 commit comments

Comments
 (0)