---
title: "dbt-clickhouse | pypx"
description: "The Clickhouse plugin for dbt (data build tool)"
canonical_url: "https://pypx.app/packages/dbt-clickhouse"
meta:
  "og:description": "The Clickhouse plugin for dbt (data build tool)"
  "og:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_dbt-clickhouse%2Cversion_1.10.3%2Csummary_The%2BClickhouse%2Bplugin%2Bfor%2Bdbt%2B(data%2Bbuild%2Btool)%2Clicense_Apache-2.0%2Cp_Ii9wYWNrYWdlcy9kYnQtY2xpY2tob3VzZSI%2Cs_wtcmQOZnndLpwhKA.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "dbt-clickhouse 1.10.3"
  "twitter:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_dbt-clickhouse%2Cversion_1.10.3%2Csummary_The%2BClickhouse%2Bplugin%2Bfor%2Bdbt%2B(data%2Bbuild%2Btool)%2Clicense_Apache-2.0%2Cp_Ii9wYWNrYWdlcy9kYnQtY2xpY2tob3VzZSI%2Cs_wtcmQOZnndLpwhKA.png"
---

> Index of every page on this site: [llms.txt](https://pypx.app/llms.txt)

# **dbt-clickhouse**

v1.10.3

The Clickhouse plugin for dbt (data build tool)

72 KB Python 3.10+ py3-none-anyApache-2.04 deps

[** Diff **](https://pypx.app/packages/dbt-clickhouse/diff)

`$ uv add dbt-clickhouse`

# dbt-clickhouse

This plugin ports [dbt](https://getdbt.com) functionality to [Clickhouse](https://clickhouse.tech/).

## Documentation

See the [ClickHouse website](https://clickhouse.com/docs/integrations/dbt) for the full documentation entry. The documentation source is maintained in [`docs`](https://pypx.app/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)
- 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](https://clickhouse.com/docs/integrations/connectors/data-ingestion/etl-tools/dbt/features-and-configurations#catalog-support) for details.

This adapter is still not available for use inside [dbt Cloud](https://docs.getdbt.com/docs/dbt-cloud/cloud-overview), 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](https://pypx.app/CONTRIBUTING.md) 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](https://github.com/silentsokolov) for creating this connector and for their valuable contributions.

## **Details **

<dl>

<dt>Version</dt>
<dd>1.10.3</dd>

<dt>License</dt>
<dd>Apache-2.0</dd>

<dt>Python</dt>
<dd>&gt;=3.10</dd>

<dt>Maintainer</dt>
<dd>"ClickHouse Inc." &lt;guy@clickhouse.com&gt;</dd></dl>

## **Links**

- [Changelog](https://github.com/ClickHouse/dbt-clickhouse/blob/main/CHANGELOG.md)
- [ClickHouse Docs](https://clickhouse.com/docs/integrations/dbt)
- [Documentation](https://github.com/ClickHouse/dbt-clickhouse#documentation)
- [Homepage](https://github.com/ClickHouse/dbt-clickhouse)
- [Issues](https://github.com/ClickHouse/dbt-clickhouse/issues)
- [Repository](https://github.com/ClickHouse/dbt-clickhouse)
- [Slack](https://clickhouse.com/slack)
- [View on PyPI](https://pypi.org/project/dbt-clickhouse/)

## **Release Cadence **

**6**

releases in the past year

avg 27 days between releases

## **Maintainers **

- "ClickHouse Inc." · [guy@clickhouse.com](mailto:guy@clickhouse.com)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://pypx.app/#website","@type":"WebSite","description":"The Python Package Index, reimagined. Fast search, dependency insights, download trends, and changelogs — all in one place.","name":"pypx","url":"https://pypx.app/"},{"@id":"https://pypx.app/packages/dbt-clickhouse#webpage","@type":"WebPage","description":"The Clickhouse plugin for dbt (data build tool)","name":"dbt-clickhouse","url":"https://pypx.app/packages/dbt-clickhouse","isPartOf":{"@id":"https://pypx.app/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://pypx.app/packages/dbt-clickhouse"]}]},{"@id":"https://pypx.app/packages/dbt-clickhouse#/schema/software-application/1","@type":"SoftwareApplication","applicationCategory":"DeveloperApplication","description":"The Clickhouse plugin for dbt (data build tool)","license":"Apache-2.0","name":"dbt-clickhouse","softwareVersion":"1.10.3"}]}
```

## Sitemap

See the full [sitemap](https://pypx.app/sitemap.md) for all pages.
