Skip to content

Column tags are not added for snapshots #1441

@themattmorris

Description

@themattmorris

Describe the bug

Column-level tags are not applied for snapshots.

Steps To Reproduce

Given a minimal model:

version: 2

snapshots:
  - name: foo
    columns:
      - name: bar
        data_type: string
        databricks_tags:
          key: value
      - name: baz
        data_type: string
    config:
      unique_key:
        - bar
      check_cols:
        - baz
      strategy: check
dbt snapshot --select foo

Expected behavior

The databricks tags to be applied to the configured columns in the resulting snapshot.

Screenshots and log output

Snapshot runs successfully, but the tags are not applied to the resulting table.

System information

The output of dbt --version:

Core:
  - installed: 1.11.2
  - latest:    1.11.8 - Update available!

  Your version of dbt-core is out of date!
  You can find instructions for upgrading here:
  https://docs.getdbt.com/docs/installation

Plugins:
  - databricks: 1.11.4 - Update available!
  - spark:      1.10.0 - Update available!

  At least one plugin is out of date with dbt-core.
  You can find instructions for upgrading here:
  https://docs.getdbt.com/docs/installation

The operating system you're using: ubuntu

The output of python --version: Python 3.13.7

Additional context

This is similar to #1187, but #1192 only added this feature at the model level, but it is still lacking at the column level.

Happy to create a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions