Skip to main content

Import: dbt

Creates a data contract from a dbt manifest.json.

# Import specific tables
datacontract import dbt --source manifest.json --model orders --model line_items

# Import all tables in the database
datacontract import dbt --source manifest.json

A column's meta is kept: classification becomes the property's classification, and the other entries become a custom property named meta.

See the dbt Integration guide for the full dbt workflow.

All options: datacontract import dbt.