ClickHouse Release 24.4
ClickHouse 24.4 adds standard SQL:1999 recursive CTEs, built on the new query analyzer now enabled by default, which pass PostgreSQL's recursive CTE tests and allow multiple queries and base-table references in the recursive part. A London Underground connections dataset demonstrates transitive-closure and reachability queries, along with how the iterative self-join execution proceeds. The release also adds a QUALIFY clause for filtering on window function results without a wrapping CTE. Join performance improves through better predicate pushdown that applies filter conditions to both sides of a join.
Related posts
- ClickHouse Release 26.3
ClickHouse mediumAdept
ClickHouse 26.3 ships 27 features, 40 performance optimizations and 202 bug fixes. Headline changes are asynchronous inserts enabled by default, JOIN reordering for ANTI/SEMI/FULL joins, and MATERIALIZED CTEs, which evaluate a WITH subquery once into a temporary table. In a UK property-prices example, materializing the CTE roughly halved query time and cut peak memory from 1.5 GiB to about 88 MiB. The release also adds pretty/compact EXPLAIN output, naturalSortKey, JSONExtract support for the JSON type, and experimental WebAssembly UDFs sandboxed with Wasmtime. TTL DELETE can now use vertical merges, and the post explains how horizontal and vertical merges work and when each is chosen.
- ClickHouse Release 24.3
ClickHouse mediumAdept
ClickHouse 24.3 enables the new query analyzer by default (beta), which fixes nested CTE/join column resolution, allows multiple ARRAY JOIN clauses, treats tuple elements like columns, and supports lambda aliases; the old implementation is slated for removal in 24.4/24.5. ATTACH PARTITION can now copy parts from a remote disk such as a web-hosted table, which is faster than INSERT…SELECT because it skips deserialization. The release also adds S3 Express One Zone support. In a 1-trillion-row Parquet count it ran about 7x faster than standard S3, at roughly 7x the storage cost ($0.16 vs $0.023 per GB).
- What's new in pg_clickhouse v0.10.0: Subqueries, TPC-H Speedups, C Driver, and Aggregates
ClickHouse hardMaster
pg_clickhouse v0.10.0 pushes correlated scalar subqueries, IN and NOT IN down to ClickHouse as remote subqueries and anti/semi-joins, raising full TPC-H pushdown from 12 to 16 of 22 queries. Q17 drops from 32.7 s to 37 ms, beating native PostgreSQL's 2.1 s. A NULL-semantics layer tracks how each expression's result is consumed and injects CASE guards only when operands may be NULL, so ClickHouse's two-valued IN matches PostgreSQL's three-valued logic; transform_null_in is pinned to 0 so a server profile can't break those guards. The release also switches from clickhouse-cpp to the plain-C clickhouse-c driver, which fixes setjmp/longjmp-vs-exception crashes and streams results, and gives each concurrent foreign scan its own connection. Statistical, ordered-set and partitionwise aggregates now push down, and builtin function pushdown is opt-in to preserve Postgres semantics.
- ClickHouse Release 24.8 LTS
ClickHouse mediumAdept
ClickHouse 24.8 is a Long Term Support release (supported for 12 months) with 19 new features, 18 performance optimisations and 65 bug fixes. Headline additions include an experimental JSON data type built on Variant and Dynamic, a table engine for time-series data, exactly-once processing of Kafka messages, and join improvements. The JSON type is shown in detail: dot syntax reads literal paths efficiently, `.^` returns subobjects, `.:Type` and `::Type` assume or cast types, and `SKIP`, `SKIP REGEXP` and per-path type hints control what is stored. A new `deduplicate_merge_projection_mode` setting controls how projections behave when ReplacingMergeTree or AggregatingMergeTree merges drop or fold rows. Previously, projections either silently fell out of sync or blocked those operations.
- ClickHouse Release 25.10
ClickHouse mediumAdept
ClickHouse 25.10 focuses on JOIN performance, adding lazy columns replication (an index column pointing at the original data instead of copying duplicated values), runtime Bloom filters built from the right-side join keys and applied as PREWHERE on the left side for parallel hash joins, push-down of OR conditions that reference both join sides, and automatic column statistics via auto_statistics_types to feed join reordering. Benchmarks on an m6i.8xlarge show a self-join over 20× faster with lazy replication, a TPC-H join 2.1× faster with ~7× less memory using runtime filters, and 24× faster with 60× less memory from disjunction push-down. The release also introduces the QBit bit-sliced vector type for query-time precision tuning, plus SQL additions such as general support for the <=> operator.