Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

ClickHouse 14 min read Release mediumAdept

ClickHouse Release 24.1

ClickHouse 24.1 ships 26 features, 22 performance optimisations and 47 bug fixes. Highlights include an experimental Variant type, a discriminated union of nested columns that lets maps, arrays and CSV schema inference hold mixed types, read back per type with variantElement. New Damerau-Levenshtein, Jaro and Jaro-Winkler similarity functions join the existing Levenshtein distance, demonstrated by finding typosquatting domains in the 7M-row Tranco list. The release also adds a vertical algorithm that speeds up FINAL queries on ReplacingMergeTree tables.

Assumes: ClickHouse SQL basicsMergeTree table engines

Related posts

  • 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 26.4

    ClickHouse mediumAdept

    ClickHouse 26.4 ships 39 features, 45 performance optimizations and 238 bug fixes, led by SQL-compatibility additions: VALUES as a table expression with column aliases, PostgreSQL-style EXTRACT units, SET TIME ZONE, NATURAL JOIN and compound INTERVAL literals. LIKE '%token%' queries can now scan the text index dictionary instead of the full column, which ran about 3x faster with far less memory on the HackerNews dataset. COUNT DISTINCT (uniqExact) merges all per-thread two-level hash tables in a single pass and stops spawning redundant threads, giving 3-15x speedups on a 288-core machine but nothing on a 12-core laptop. EXPLAIN pretty output is more readable, and a new JSONAllValues function lets a text index cover every leaf value of a JSON column.

  • ClickHouse Release 24.12

    ClickHouse mediumAdept

    ClickHouse 24.12 adds LIKE and unknown-value equality/IN support for Enums, an experimental descending MergeTree sorting key, JSON subcolumns as primary key columns, Iceberg REST catalog (Unity, Polaris) and schema evolution support, and automatic JOIN side swapping via query_plan_join_swap_table. On 100M Bluesky events, ordering by JSON subcolumns made a filtered query about 50x faster with 150x less memory. The now-default parallel hash join ran TPC-H Q3 at scale factor 100 about 8x faster than the plain hash join. The auto swap mode picks the smaller table as the hash-table build side to save memory and time.

  • ClickHouse Release 24.5

    ClickHouse mediumAdept

    ClickHouse 24.5 adds an experimental Dynamic data type for semi-structured columns that accepts values of any type without declaring them upfront like Variant, and queries them via dynamicType, dynamicElement and dot syntax. Reading files inside zip/tar archives now works for archives stored on S3, not just the local file system. CROSS JOIN memory usage is reworked: on a 1-billion-row PyPI table, peak memory fell from 51.77 GiB in 24.4 to 19.06 GiB uncompressed and 5.36 GiB with LZ4-compressed right-table blocks, at the cost of longer runtime. Right-table blocks can also spill to disk once max_bytes_in_join or max_rows_in_join is exceeded.

  • ClickHouse Release 26.1

    ClickHouse mediumAdept

    ClickHouse 26.1 ships 25 new features, 43 performance optimizations and 176 bug fixes. The headline change makes deduplication of asynchronous inserts work end to end with dependent materialized views. Per-insert dedup hashes are carried through each flushed batch and checked independently against Keeper state for the base table and each view target, so retries no longer double-count transformed data. The release also adds shorthand syntax for indexing projections (PROJECTION ... INDEX col TYPE basic), DISTINCT on LowCardinality columns that operates on the dictionary, and new introspection tools: system.zookeeper_info, a Keeper web UI and HTTP API, a files column in system.parts, and the mergeTreeAnalyzeIndexes table function showing the row ranges that survive index pruning.

The quest for software engineering knowledge.

Look:
Layout: