How to update Atlan through dbt

Have more questions? Submit a request

Beyond the default mapped dbt properties, you can update any of Atlan's metadata attributes (except for name, tenantId, and qualifiedName) through your dbt model's meta property.

For example, you may want to add an owner and set the verified status on tables and columns:

version: 2

models:
  - name: vaccines
    description: "Daily vaccination count"
    meta:
      atlan:
        attributes:
          certificateStatus: "VERIFIED"
          ownerUsers:
            - "atlan_username"
    columns:
      - name: date_day
        description: "Reporting date"
        tests:
          - not_null
        meta:
          atlan:
            attributes:
              certificateStatus: "VERIFIED"
              ownerUsers:
                - "atlan_username"
      - name: first_dose
        description: "Number of people with first dose administered"
        tests:
          - not_null
      - name: second_dose
        description: "Number of people with second dose administered"
        tests:
          - not_null
        tags:
          - tagA
          - tagB

The example above sets:

  • an owner and the verified status on the vaccines table
  • an owner and the verified status on the date_day column

Other examples could include doing the following through the dbt model:

  • Add the PII classification to certain tables and columns
  • Attach glossary terms to tables and columns

For the full list of properties available on each asset in Atlan, refer to Atlan's API documentation.

For more information on dbt's meta property refer to dbt's documentation.

Related articles

Was this article helpful?
1 out of 1 found this helpful