dbt-clickhouse, is not going away: we keep it current with dbt 1.x releases and maintain both adapters in parallel.
The dbt Core 1.x documentation also applies to dbt Core v2. The adapter behaves the same way on both engines: the profiles, model configs, materializations and macros described in the other dbt pages work unchanged on dbt Core v2, dbt Fusion and the dbt platform. The exceptions are documented in the v1 vs v2 parity table below.
Try ClickHouse in the dbt platform
If you’re interested in testing the private beta, sign up through dbt Labs’ private beta form. The form belongs to dbt Labs, so the information you submit goes to dbt Labs, not to ClickHouse. Once enabled, follow Connect ClickHouse in the dbt documentation to set up the connection.Terminology and availability
dbt is available in several forms, and the same adapter can run in more than one of them. This table explains each name and the current level of ClickHouse support.Beta status
We measure dbt Core v2 against the dbt Core 1.x integration test suite ofdbt-clickhouse. Beta means that core dbt workflows and the ClickHouse Cloud feature set work with documented limits; full v1 parity and self-managed cluster support come after.
Today, the adapter passes more than 81% of the full v1 suite and 92% of the tests that apply to ClickHouse Cloud. Every materialization is at parity (view, table, incremental, materialized_view, dictionary, snapshot, seed, ephemeral), with the full set of table configs, model contracts, data and unit tests, docs persistence, clickhouse_s3source() and the dbt Core 1.x connection settings. The remaining failures relate to the self-managed cluster work listed below and a handful of engine-side differences. See v1 vs v2 parity for the feature-by-feature picture.
Next steps: ON CLUSTER DDL and the distributed materializations for self-managed clusters, grants, dbt clone, dbt source freshness from table metadata, fixes for the remaining bugs and passing the full v1 test suite to ensure full parity. The progress of all of these is tracked in ClickHouse/dbt-clickhouse#660, with one sub-issue per area.
GA is on the roadmap and will come soon. We’ll update the docs once it’s ready.
Out of scope for Beta
In addition to the v1 parity gaps listed below, a few features exclusive to v2 are outside the current scope but will come soon:- Semantic Layer / MetricFlow. ClickHouse support has not been added yet. Tracked in dbt-labs/metricflow#2124.
- ClickHouse SQL intelligence in Fusion (dialect-aware validation, static analysis, LSP, column awareness in the VS Code extension). The adapter runs with the Fusion binary today but doesn’t include these features yet. Until then, static analysis is forced to
offfor ClickHouse projects and the engine writes no column-level lineage. Tracked in #736. - Additional auth methods beyond username and password in the dbt platform.
v1 vs v2 parity
The tables below compare the features available indbt-clickhouse (v1) with their status in the dbt Core v2 adapter. Every feature listed is supported in v1 unless the notes say otherwise; the status column is for dbt Core v2. The evolution of every pending item is tracked in ClickHouse/dbt-clickhouse#660.
Supported works today · Partial works with limits · Not yet pending implementation.