The Clickhouse plugin for dbt (data build tool)
Actively maintained. Last release 6 days ago, commits in 19 of the last 26 weeks. A safe choice.
pip install dbt-clickhouse
dbt-clickhouse
This plugin ports dbt functionality to Clickhouse.
The adapter works with both ClickHouse Cloud and self-hosted ClickHouse. You can start a free Cloud trial or install ClickHouse locally.
Documentation
See the ClickHouse website for the full documentation entry.
The documentation source is maintained in docs.
Installation
Use your favorite Python package manager to install the app from PyPI, e.g.
pip install dbt-core dbt-clickhouse
NOTE: Beginning in v1.8, dbt-core and adapters are decoupled. Therefore, the installation mentioned above explicitly includes both dbt-core and the desired adapter.If you use a version prior to 1.8.0 the pip installation command should look like this:
pip install dbt-clickhouse
Supported features
- Table materialization
- View materialization
- Incremental materialization
- Microbatch incremental materialization
- Materialized View materializations (uses the
TOform of MATERIALIZED VIEW, experimental) - User-defined functions (SQL)
- Seeds
- Sources
- Docs generate