marmotdata/dbt

Ingest metadata from dbt (Data Build Tool) projects including models, tests, and lineage

Registry Pipelines dbt dbt Pipelines AssetsLineageColumn Lineage Experimental Marmot >=0.13.0 Version 0.4.0 (latest)Version 0.3.0Version 0.2.0Version 0.1.1Version 0.1.0 Source(opens in a new tab) Install

The DBT plugin ingests metadata from dbt (Data Build Tool) projects, including models, sources, seeds, and lineage relationships. It reads dbt's generated artifacts to understand your data transformation layer and how it connects to your warehouse.

Prerequisites

Before Marmot can ingest your dbt project, you need to generate the artifact files in your project's target/ directory.

Required

Generate manifest.json by running:

dbt compile

Recommended

Generate catalog.json for column types and statistics:

dbt docs generate

File Sources

The target_path field accepts local paths, S3 URIs (s3://bucket/prefix) or Git URIs (git::https://...). For S3 and Git sources, the target directory is downloaded to a temporary location before discovery and cleaned up afterwards.

See File Sources for the full list of supported backends, authentication options and configuration examples.

Naming

A model is named by the database and schema it is built into and its own name, for example mrn://asset/model/dbt/analytics.marts.orders. Set zone to tell two dbt projects apart.

The warehouse tables dbt reads or builds belong to the warehouse's own plugin, so they use its name: <database>.<schema>.<table>, or <schema>.<table> for MySQL, ClickHouse, SingleStore, Spark and Glue. Set target_zone to the Marmot zone of that warehouse, for example prod-snowflake, so those tables merge with the ones the warehouse plugin catalogues.