$npx skillfedfor your agent

airflow-clickhouse-plugin

airflow-clickhouse-plugin — Airflow plugin to execute ClickHouse commands and queries

Worth itPyPI DatabaseReleased Jul 2026666.8K downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — airflow_clickhouse_plugin-1.8.0-py3-none-any.whl
v1.8.0 · released 2026-07-13 · Python >=3.10 · 2 runtime deps: apache-airflow, clickhouse-driver

Yes. The plugin is actively maintained, has no known vulnerabilities, low install friction, and permissive licensing. It fills a clear need for ClickHouse integration in Airflow with two well-documented operator families. Install it if you run Airflow >=2.3.0 with Python >=3.10 and need to query or load ClickHouse from DAGs.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires an Airflow connection named 'clickhouse_default' (or custom conn_id) configured with ClickHouse host, port, user, and password; Airflow >=2.3.0 and Python >=3.10 for version 1.8.0.
  • Low install friction; pure Python wheel with only two runtime dependencies (apache-airflow and clickhouse-driver).
  • Active maintenance with a release 32 days ago and 184 repository stars.

License · maintenance · safety

MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions; no copyleft obligations or patent clauses.

last release 2026-07-13 (32 days) · last repo commit 2026-08-03 · 184 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 666,777 downloads/mo, #5,424 on PyPI

Verify before relying

pip install airflow-clickhouse-plugin

from airflow_clickhouse_plugin.operators.clickhouse import ClickHouseOperator

task = ClickHouseOperator(
    task_id='query_clickhouse',
    sql='SELECT count() FROM my_table',
    clickhouse_conn_id='clickhouse_default'
)
  • Whether the plugin's OpenLineage integration (via optional openlineage extra) is production-ready and actively maintained.
  • Performance characteristics when executing very large result sets or high-frequency query patterns.
  • Compatibility with Airflow 3.4.0+ given the version table shows support only up to <3.4.0.
Same gist for agents: .md · .json

What it is and what it does

This is an Apache Airflow plugin that wraps clickhouse-driver to let you define ClickHouse queries as Airflow tasks. It offers two operator families: one based directly on clickhouse-driver's Client.execute (ClickHouseOperator, ClickHouseHook, ClickHouseSensor) for full native protocol support, and a second family (ClickHouseSQLExecuteQueryOperator and related operators) that implements the Python DB API 2.0 standard for compatibility with other SQL providers in Airflow.

The native-protocol operators support SQL templating, multiple queries per task, query logging, and custom connection parameters like compression and timeouts. The DB API 2.0 operators provide a standardized interface useful when migrating Airflow pipelines from other databases to ClickHouse. Both families are tested across multiple Python and Airflow versions. The plugin requires Airflow >=2.3.0 and Python >=3.10 for version 1.8.0.

Use it for

  • Define ClickHouse data transformations and loads as Airflow DAG tasks with SQL templating and XCom result passing.
  • Migrate existing Airflow pipelines from MySQL, Postgres, or BigQuery to ClickHouse using DB API 2.0 operators.
  • Monitor ClickHouse query results or table state changes using ClickHouseSensor or ClickHouseSqlSensor in task dependencies.
  • Execute multi-statement ClickHouse scripts within a single task, with the final query result automatically pushed to XCom.
  • Integrate ClickHouse operations with OpenLineage for data lineage tracking in Airflow 2.7.0+.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The plugin is actively maintained, has no known vulnerabilities, low install friction, and permissive licensing. It fills a clear need for ClickHouse integration in Airflow with two well-documented operator families. Install it if you run Airflow >=2.3.0 with Python >=3.10 and need to query or load ClickHouse from DAGs.

Install

airflow-clickhouse-plugin on PyPI

Before you install

Low install friction; pure Python wheel with only two runtime dependencies (apache-airflow and clickhouse-driver). Active maintenance with a release 32 days ago and 184 repository stars.

Requires an Airflow connection named 'clickhouse_default' (or custom conn_id) configured with ClickHouse host, port, user, and password; Airflow >=2.3.0 and Python >=3.10 for version 1.8.0.

License in practice

MIT License permits commercial and private use with minimal restrictions; no copyleft obligations or patent clauses.

Quickstart

pip install airflow-clickhouse-plugin

from airflow_clickhouse_plugin.operators.clickhouse import ClickHouseOperator

task = ClickHouseOperator(
    task_id='query_clickhouse',
    sql='SELECT count() FROM my_table',
    clickhouse_conn_id='clickhouse_default'
)

Verify before relying

  • Whether the plugin's OpenLineage integration (via optional openlineage extra) is production-ready and actively maintained.
  • Performance characteristics when executing very large result sets or high-frequency query patterns.
  • Compatibility with Airflow 3.4.0+ given the version table shows support only up to <3.4.0.

Package facts

LicenseMIT License permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
apache-airflowclickhouse-driver
MaintenanceActively maintained 32 days since the last release
Last repo commit
First released
Downloads666,777 / month, #5,424 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: PluginsIntended Audience :: DevelopersProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: airflow_clickhouse_plugin-1.8.0-py3-none-any.whl

Tags

Capabilities
airflow clickhouse operatorclickhouse airflow pluginairflow ClickHouse integrationexecute clickhouse queries airflowclickhouse-driver airflowairflow database operator clickhouseClickHouse DAG tasks
Topics
airflow-pluginclickhouse-integrationdata-pipeline
PyPI keywords
clickhouseairflow

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “airflow clickhouse operator”

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also apache-airflow-providers-common-sql · apache-airflow-providers-microsoft-mssql · apache-airflow-providers-mysql · apache-airflow-providers-odbc · apache-airflow-providers-oracle · clickhouse-driver · apache-airflow-providers-apache-drill · apache-airflow-providers-databricks · apache-airflow-providers-informatica · aiochclient