Skip to main content

The Clickhouse plugin for dbt (data build tool)

Project description

clickhouse dbt logo

dbt-clickhouse

This plugin ports dbt functionality to Clickhouse.

Documentation

See the ClickHouse website for the full documentation entry.

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)
  • 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...)

All features up to dbt-core 1.10 are supported, including --sample flag and all deprecation warnings 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.

This adapter is still not available for use inside dbt Cloud, but we expect to make it available soon. Please reach out to support to get more information on this.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dbt_clickhouse-1.10.1.tar.gz (53.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dbt_clickhouse-1.10.1-py3-none-any.whl (68.6 kB view details)

Uploaded Python 3

File details

Details for the file dbt_clickhouse-1.10.1.tar.gz.

File metadata

  • Download URL: dbt_clickhouse-1.10.1.tar.gz
  • Upload date:
  • Size: 53.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dbt_clickhouse-1.10.1.tar.gz
Algorithm Hash digest
SHA256 c44b122c217936ebb665951c782b0035879d18dd0e0de60996ccdba4dae96500
MD5 e88d991fc75dec32a37ab5ef42cb7651
BLAKE2b-256 0a62302c6299c295d517d19f7be69aa91a5708b792af7be13dd9990b09ccc429

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbt_clickhouse-1.10.1.tar.gz:

Publisher: pypi.yml on ClickHouse/dbt-clickhouse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dbt_clickhouse-1.10.1-py3-none-any.whl.

File metadata

  • Download URL: dbt_clickhouse-1.10.1-py3-none-any.whl
  • Upload date:
  • Size: 68.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dbt_clickhouse-1.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 244dde2e54d105e7e040912de78445e08f04bdf5346183b74ff452e02a19f9d6
MD5 0ec341a42964e90b1cfcd087c80ed163
BLAKE2b-256 f28d7cc0eb67c876383f31b237ea9ce1b094dfb9d35c6fddfdb1a566c09c39f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbt_clickhouse-1.10.1-py3-none-any.whl:

Publisher: pypi.yml on ClickHouse/dbt-clickhouse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page