Skip to main content

Change description

There are actually two descriptions per asset

There are actually two fields in Atlan that capture the description of an asset: description and userDescription.

In the UI, userDescription will take precedence. This is the field that's updated when a user updates the description through the UI.

When a system updates a description, it will populate the description field. This field is only shown in the UI when the userDescription field is empty.

The examples below therefore all update the description field, to allow a user to still override this value through the UI. If you want to actually override any users' descriptions, however, replace description in the examples below with userDescription.

Change existing asset

Could create a new asset

Remember that Atlan matches the provided qualifiedName to determine whether to update or create the asset.

To change a description on an existing asset:

Change description on existing asset
models:
- name: TOP_BEVERAGE_USERS # (1)
description: >- # (2)
My new description
  1. You must of course give the name of the object.
  2. You just use the normal dbt description field to provide a description—no need for the meta.atlan.attributes structure.

Remove from existing asset

To remove a description from an existing asset:

It's currently not possible to remove a description from an asset via dbt.

When creating asset

To add a description when creating an asset:

Add description when creating an asset
models:
- name: TOP_BEVERAGE_USERS # (1)
description: >- # (2)
My description of the asset
  1. You must of course give the name of the object.
  2. You just use the normal dbt description field to provide a description—no need for the meta.atlan.attributes structure.
Was this page helpful?