The official ClickHouse provider for Apache Airflow is now available
Apache Airflow now ships an official upstream ClickHouse provider, apache-airflow-providers-clickhousedb, built on the clickhouse-connect Python client over HTTP(S). It plugs into Airflow's common SQL framework so the standard SQLExecuteQueryOperator handles DDL, DML and queries, and adds a ClickHouseHook for bulk columnar inserts and other client-specific calls. Setup takes a pip install, a clickhouse connection (port 8443 with secure=true for TLS or ClickHouse Cloud) and an ordinary DAG, and the same project runs locally via the Astro CLI and deploys unchanged to Astronomer. It replaces the community airflow-clickhouse-plugin as the supported path, and migration is described as mostly mechanical.
Related posts
- clickhousectl v0.2.0: Postgres, ClickPipes and more
ClickHouse mediumAdept
clickhousectl v0.2.0 adds Postgres management, both local (Docker-backed, keyed on name and major version 16–18) and as ClickHouse Cloud managed Postgres. It also adds ClickPipes commands for Kafka, Kinesis, object storage, CDC from Postgres/MySQL/MongoDB and BigQuery snapshots, plus SQL over HTTP through Query Endpoints so no local ClickHouse binary is needed. Query Endpoints are locked to a per-service API key whose only grant is a sql_console_admin binding, so a leaked key reaches one service only. Other changes include Markdown-style table output that uses fewer tokens for agents, a --debug flag for credential resolution, and a standalone typed async Rust crate, clickhouse-cloud-api.
- clickhouse.build: An agentic CLI to accelerate Postgres apps with ClickHouse
ClickHouse mediumAdept
clickhouse.build is an open source agentic CLI that adds ClickHouse to Postgres-backed TypeScript apps for analytical queries while leaving transactional work in Postgres. A scanner agent finds analytical queries in raw SQL, Prisma or Drizzle code. A data migrator then generates ClickPipes Postgres CDC API calls to sync the needed tables. A code migrator, checked by a QA sub-agent against reference codebases, rewrites queries behind a strategy pattern toggled by a USE_CLICKHOUSE feature flag. The workflow keeps a human in the loop to approve each change and aims to produce a backwards-compatible proof of concept in under an hour.
- ClickHouse and Power BI, columnar end to end: the Arrow Flight connector is in public preview
ClickHouse mediumAdept
ClickHouse's new Power BI connector, now in public preview, talks Arrow Flight SQL over TLS-encrypted gRPC. Data stays columnar end to end instead of being converted to rows and back as the ODBC path does, and the Power BI service connects directly, so no on-premises gateway or driver install is needed. In a 10M-row, 20-column import benchmark, refresh took 278 s versus 390 s for ODBC plus a gateway. ClickHouse spent about 5 s on the query instead of 150 s and used roughly 6x less CPU. The connector supports query folding and exact Decimal/UInt64 types, works best in Import mode (DirectQuery is still maturing), and needs ClickHouse 26.5+ or a support request on ClickHouse Cloud.
- Announcing the ClickHouse Connector for AWS Glue
ClickHouse mediumAdept
ClickHouse has released an official connector for AWS Glue, available in the AWS Marketplace. It is built on ClickHouse's native Spark connector, so the connector no longer has to be installed and managed by hand. The walkthrough covers subscribing, creating a Glue connection, IAM permissions (glue:GetJob/GetJobs), and the version requirements: Glue 4 with Spark 3.3 and ClickHouse Cloud 25.4+. It then builds a PySpark job that configures the ClickHouse catalog from job parameters, creates a MergeTree table via Spark SQL DDL, writes DataFrames with writeTo().append() and reads back with spark.sql. It closes with production advice on tuning batchsize and timeouts and on triggering jobs through Glue Workflows.
- How we built the Internal Data Warehouse at ClickHouse
ClickHouse mediumAdept
ClickHouse's internal data warehouse ingests tens of sources (Control Plane, Data Plane, AWS CUR, GCP billing, Salesforce, M3ter and others) into S3 hourly, then loads them into ClickHouse Cloud with the s3 table function and transforms them in SQL. Airflow schedules the work and Superset serves BI to about 100 users. Idempotency comes from ReplicatedReplacingMergeTree with FINAL plus re-runnable DAGs. Consistency comes from insert_quorum=3 rather than "auto", so inserts fail and retry during node restarts instead of leaving replicas incomplete. The team also found it needed a third intermediate business-entity layer beyond raw and mart, chose a single large transformation DAG over Airflow dataset triggers, and drives database-level access control from Google groups mapped to tables, columns and row filters.