dbt = data build tool, SQL transformation with testing + versioning + documentation. 2026 modern data stack standard. Africa: growing adoption.
TL;DR
- dbt = modular SQL transformations.
- Automatic tests, docs, lineage.
- dbt Core (free) vs dbt Cloud (paid).
- Compatible Snowflake, BigQuery, Databricks, Redshift, Postgres.
Why dbt
Before dbt :
- Isolated SQL scripts
- No versioning
- No tests
- No lineage
- Missing documentation
With dbt :
- Models = SELECT statements
- Macros (Jinja) = reusable
- Built-in tests (unique, not_null, accepted_values)
- Auto-generated docs
- Visual DAG lineage
- Native Git versioning
dbt stack
- dbt Core:
- Open source CLI
- Free
- Self-hosted scheduling
- dbt Cloud:
- Managed web IDE
- Integrated scheduler
- $100-500/user/month
Adapters :
- dbt-snowflake
- dbt-bigquery
- dbt-databricks
- dbt-redshift
- dbt-postgres
- dbt-clickhouse
Companion tools :
- dbt-utils (community macros)
- dbt-expectations (advanced tests)
- elementary (data observability)
- recce (PR diffs)
Project structure
`
my_project/
├── models/
│ ├── staging/ # raw data clean
│ ├── intermediate/ # business logic
│ └── marts/ # final tables
├── tests/
├── macros/
├── seeds/
├── snapshots/
└── dbt_project.yml
Naming convention:
- stg_source__entity (staging)
- int_entity (intermediate)
- fct_entity / dim_entity (marts)
Need a professional website?
Kolonell builds websites that attract clients, optimized for the Sénégalese market. Free quote in 2 minutes.
`
dbt tests
`yaml
# schema.yml
models:
- name: orders
columns:
- name: order_id
tests:
- unique
- not_null
- name: status
tests:
- accepted_values:
values: ['pending', 'paid', 'shipped']
- name: customer_id
tests:
- relationships:
to: ref('customers')
field: customer_id
Custom tests:
- dbt-expectations (great-expectations style)
- Singular SQL tests
`
FAQ
Q: dbt vs Apache Airflow?
A: dbt = data transformations. Airflow = general orchestration. Often together.
Q: Africa cost?
A: dbt Core free + Airflow scheduling. 2-4 week setup. Total < $100/month infrastructure.
Conclusion
2026 dbt data transformation: modern data stack standard. Modular SQL + tests + docs + lineage = professional data engineering. Growing Africa adoption. Free Core or $100-500 Cloud. Massive data quality ROI.
Mohamed Bah
Fondateur, Kolonell
Passionate about digital and entrepreneurship in Africa, Mohamed has been helping Sénégalese businesses with their digital transformation since 2020. Founder of Kolonell, he believes every SME deserves a professional and accessible online présence.
