What it does
After raw data is loaded, dbt handles the transform step. Each model is a SQL file; models reference each other with a ref function, and dbt works out the build order. Tests assert that an id is unique and not null or that every booking points to a real customer.
Why teams adopt it
- Business logic lives in reviewed, versioned code, not in a dashboard formula nobody can find.
- Documentation and a lineage graph are generated automatically.
- Changes are tested in a development schema before they reach production.
Fit
dbt works with warehouses such as BigQuery, Snowflake, Redshift, Databricks and PostgreSQL. It does not move data in; you need a loader and a scheduler. dbt Core is open source; dbt Cloud is a hosted product.
A company with a few simple reports can use plain SQL views. dbt starts paying off when dozens of models and several analysts depend on each other.
Questions, answered
It covers only the T. Extraction and loading come from other tools.
No. dbt is mostly SQL and templating, though some adapters allow Python models.