Skip to main content

clickhouse dbt logo

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 TO form of MATERIALIZED VIEW, experimental)
  • User-defined functions (SQL)
  • Seeds
  • Sources
  • Docs generate
  • Tests
  • Snapshots
  • Most dbt-utils macros (now included in dbt-core)
  • Ephemeral materialization
  • Distributed table materialization (experimental)
  • Distributed incremental materialization (experimental)
  • Contracts
  • ClickHouse-specific column configurations (Codec, TTL...)
  • ClickHouse-specific table settings (indexes, projections...)

Features up to dbt-core 1.12 are supported, including the --sample flag, and all deprecation warnings are fixed for future releases. Catalog integrations (e.g., Iceberg) introduced in dbt 1.10 are not yet natively supported in the adapter, but workarounds are available. See the Catalog Support section for details.

ClickHouse also works with dbt OSS and dbt v2 (Beta) and with the dbt platform (Private Beta). See the dbt OSS, dbt v2 and dbt platform documentation for availability and known limitations.

Contributing

We welcome contributions from the community to help improve the dbt-ClickHouse adapter. Whether you’re fixing a bug, adding a new feature, or enhancing documentation, your efforts are greatly appreciated!

Please take a moment to read our Contribution Guide to get started. The guide provides detailed instructions on setting up your environment, running tests, and submitting pull requests.

Original Author

ClickHouse wants to thank @silentsokolov for creating this connector and for their valuable contributions.

Metadata

Release files for dbt-clickhouse 1.10.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dbt-clickhouse 1.10.4
File Size Uploaded Provenance Actions
dbt_clickhouse-1.10.4.tar.gz 62.8 kB With provenance Details for dbt_clickhouse-1.10.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dbt-clickhouse 1.10.4
File Interpreter ABI Platform Actions
dbt_clickhouse-1.10.4-py3-none-any.whl Python 3 none any Details for dbt_clickhouse-1.10.4-py3-none-any.whl

Total release size: 141.0 kB

Release files / dbt_clickhouse-1.10.4.tar.gz

Download URL dbt_clickhouse-1.10.4.tar.gz
Size 62.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d304b281652a65ba75fc2a860e55f949712286725f7efa8e8bac5272ee83fa63
BLAKE2b-256 checksum
How to use checksums
cf892a947de2c65bfada3e7789a7f300efbdab3c272d4259b49e7587e6411118
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / dbt_clickhouse-1.10.4-py3-none-any.whl

Download URL dbt_clickhouse-1.10.4-py3-none-any.whl
Size 78.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
59c44932b15397af25d9c46ebcd8f0fd21ad1c2c8f6b48a312e87a2759cf0d0b
BLAKE2b-256 checksum
How to use checksums
2a31ac55adcc4162d63532d598fdfdba276f7b08f2853a744ae544e9fd33c91e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for dbt-clickhouse 1.10.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for dbt_clickhouse-1.10.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.10.4 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page