mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-23 01:22:00 +00:00
19 lines
1.4 KiB
Markdown
19 lines
1.4 KiB
Markdown
Ingesting metadata from dbt requires either using the **dbt** module or the **dbt-cloud** module.
|
|
|
|
### Concept Mapping
|
|
|
|
| Source Concept | DataHub Concept | Notes |
|
|
| --------------- | ------------------------------------------------------------- | ------------------ |
|
|
| `"dbt"` | [Data Platform](../../metamodel/entities/dataPlatform.md) | |
|
|
| dbt Source | [Dataset](../../metamodel/entities/dataset.md) | Subtype `source` |
|
|
| dbt Seed | [Dataset](../../metamodel/entities/dataset.md) | Subtype `seed` |
|
|
| dbt Model | [Dataset](../../metamodel/entities/dataset.md) | Subtype `model` |
|
|
| dbt Snapshot | [Dataset](../../metamodel/entities/dataset.md) | Subtype `snapshot` |
|
|
| dbt Test | [Assertion](../../metamodel/entities/assertion.md) | |
|
|
| dbt Test Result | [Assertion Run Result](../../metamodel/entities/assertion.md) | |
|
|
|
|
Note:
|
|
|
|
1. It also generates lineage between the `dbt` nodes (e.g. ephemeral nodes that depend on other dbt sources) as well as lineage between the `dbt` nodes and the underlying (target) platform nodes (e.g. BigQuery Table -> dbt Source, dbt View -> BigQuery View).
|
|
2. We also support automated actions (like add a tag, term or owner) based on properties defined in dbt meta.
|