software · Q1217
dbt
SQL transformation framework with dependency-aware builds, data tests and distinct open-source and product distributions.
Overview
dbt turns SQL model definitions into warehouse tables and views, manages their dependencies and runs data-quality tests. Current documentation distinguishes the maintained Python-based v1 generation from Rust-based v2, and separates the Apache-licensed OSS runtime from the customized dbt product distribution and hosted platform.[1][2]
Modeling and validation
A dbt project organizes SQL queries as models that reference other models and sources. dbt handles the surrounding table or view creation and dependency order. Data tests are separate queries designed to return records that violate an assertion. Built-in checks cover uniqueness, nulls, accepted values and relationships, while reusable custom tests encode project-specific rules.[5][6]
Incremental processing
Incremental models first build a table and subsequently process the source rows selected by the model's filtering logic. Schema-change settings can reject differences, add columns or synchronize columns, but they do not populate a newly added column for old records. Historical values need a deliberate update or refresh. The documentation also limits automatic schema-change tracking to top-level columns rather than nested changes.[7]
Generations and deployment
The original Python implementation remains maintained on the repository's v1 branch. The main branch now contains the Rust-based v2 source, and documentation identifies v2 as the default generation for new installation. Its published architecture matrix includes macOS and Linux on x86-64 and ARM, and Windows on x86-64; Windows ARM is not yet listed as supported. A v1 environment and a v2 binary are distinct deployment choices.[1][2]
Adapter and project migration
V2 uses ADBC-based adapter drivers rather than v1's Python adapter libraries. The documented distribution obtains drivers on first use and caches them. Upgrading also requires resolving deprecated project behavior, not simply replacing an executable. Missing macro or adapter-method calls may fail earlier, and adapter availability can differ between local development and the hosted platform. Existing projects need review against the selected generation.[8]
Distribution and licensing
The repository source and dbt OSS runtime use Apache License 2.0. The customized dbt product distribution has a separate product license, and platform-feature access can require an account governed by additional terms. The OSS installation page lists the project language, dependency semantics and standard commands such as build, test and compile. Hosted scheduling and collaboration should not be inferred to accompany every local installation.[1][2][3][4]
Substitution considerations
dbt is an alternative to SQLMesh for organizing SQL transformations and checking their outputs. The overlap concerns models, dependencies and validation, rather than identical state or deployment planning. Selecting dbt requires checking the actual distribution, generation, adapters and operating arrangement. Warehouse execution remains separate from compiling a project; no migration test or comparative performance result is claimed.[5][6][8][9]
Capabilities & limitations
Dependency-aware SQL builds
supportedModels define queries and relationships, with dbt managing their materialization.[5]
Version-controlled SQL data transformation and validation · Windows, macOS, Linux · Version, build and integration requirements apply
1 source · check evidence
Model queries, materialization and dependency references
vendor · checked 2026-10-07Data-quality assertions
supportedBuilt-in and custom SQL tests identify failing records.[6]
Version-controlled SQL data transformation and validation · Windows, macOS, Linux · Version, build and integration requirements apply
1 source · check evidence
Queries selecting failing rows and reusable tests
vendor · checked 2026-10-07Incremental schema evolution
limitedSchema-change options do not backfill newly added column values in historical rows.[7]
Version-controlled SQL data transformation and validation · Windows, macOS, Linux · Version, build and integration requirements apply
1 source · check evidence
Filtering, schema changes and absence of automatic historical backfill
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
SQLMesh for Version-controlled SQL data transformation and validation
limitedCan replace SQLMesh for dependency-managed SQL transformations and data assertions when projects are rebuilt for dbt. SQLMesh state, plans and virtual-environment behavior are not assumed portable.[5][6][9]
Windows, macOS, Linux · Version, build and integration requirements apply
References
- What is dbt?
Framework, v1/v2 and local versus hosted use
vendor · retrieved 2026-10-07 - dbt repository
v1 branch, v2 Rust source, distribution and architecture matrix
vendor · retrieved 2026-10-07 - Install dbt OSS
Apache runtime, project language and standard commands
vendor · retrieved 2026-10-07 - dbt Product Licensing Agreement
Product distribution and separate platform-feature access terms
vendor · retrieved 2026-10-07 - SQL models
Model queries, materialization and dependency references
vendor · retrieved 2026-10-07 - Data tests
Queries selecting failing rows and reusable tests
vendor · retrieved 2026-10-07 - Incremental models
Filtering, schema changes and absence of automatic historical backfill
vendor · retrieved 2026-10-07 - Upgrading to v2
ADBC drivers and removed/deprecated behavior
vendor · retrieved 2026-10-07 - SQLMesh overview
SQL/Python transformation and plan workflows
vendor · retrieved 2026-10-07
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 1265 | 2026-10-14 00:33:11 | /* wbeditentity-create-item:0| */ sf:d3952c28-116a-4e63-85d3-4d3f42625b85:v1 | Add dbt with current v1/v2 and OSS/product distribution distinctions, adapter migration and incremental backfill limits. | attribution: /proposals/d3952c28-116a-4e63-85d3-4d3f42625b85 |