Skip to content

Materialization v2 with update_via_alter for nonexistent columns #1399

Description

@karasda

Describe the bug

When you use materialization_v2 with views with update_via_alter it attempts to push all comments from yml to databricks regardless if they exist.

Steps To Reproduce

  1. Create a model (view). In relevant .yml add a column which does not exist in .sql
  2. Run the model (creation)
  3. Run the model (again)

Expected behavior

During both run the nonexistent columns are skiped when transfering their comments to DBX.

System information

We use dbt-databricks 1.10.14, dt-core 1.10.13 and tested it for dbt 1.11 as well.

Additional context

Might be solved by #1358?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions