ClickHouseAditya Chidurala, Bentsi Leviav, Alex Francoeur5 min readintermediate
The official ClickHouse provider for Apache Airflow is now available
Summary
The post announces the official ClickHouse provider for Apache Airflow, showing how to install it, configure a ClickHouse connection, and run queries using standard SQL operators or a ClickHouseHook. It includes examples for both self‑hosted Airflow and the Astronomer managed platform.
- Install the provider via pip; it pulls in clickhouse-connect and common-sql automatically.
- Create a `clickhouse` connection in Airflow UI or via AIRFLOW_CONN env var, using host, port 8443, and secure=true for TLS.
- Run ClickHouse DDL/DML with the standard SQLExecuteQueryOperator—no custom operator needed.
- Use ClickHouseHook.bulk_insert_rows for bulk or streaming inserts, leveraging ClickHouse's native columnar path.
Data engineers using Airflow need a supported, plug‑and‑play integration to query ClickHouse at scale without writing custom adapters.
6/10





