dbt¶
Atlan University
See it in action in our automated enrichment course (45 mins).
You can use dbt's meta field to enrich metadata resources from dbt into Atlan. Atlan will ingest the information from this field and update the assets in Atlan accordingly.
With this, you have a powerful way to keep the dbt assets documented directly as part of your dbt work.
The following is an example:
| dbt example | |
|---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | |
- The
descriptionat the top level of an asset defined in dbt will already be mapped to the description field for that asset in Atlan. - More detailed metadata, however, needs to be specified within the
metafield. - ... and within the
metafield, further within theatlansub-field. - For attributes, such as certificates, announcements, or owners these need to be specified within the
attributessub-field. - Classifications need to be specified within a
classificationssub-field. - Note that the
metafield and its sub-structure (including all the detailed attributes) can also be applied to columns within a model.
This rich metadata will then be loaded to the corresponding attributes on the asset in Atlan.
For more details on specific examples, see the dbt tabs in the Common asset actions snippets.