---
title: "ClickHouse Release 24.4"
description: "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."
url: "https://swe.quest/articles/clickhouse-release-24-4-940c7f6d7669f10a"
canonical: "https://clickhouse.com/blog/clickhouse-release-24-04"
source: "ClickHouse"
published: "2024-05-05"
difficulty: "medium"
kind: "Release"
reading_minutes: 15
tags: ["sql","analytics","query-engines","databases"]
---

# ClickHouse Release 24.4

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2024-05-05, 15 min read, Release. Original: [https://clickhouse.com/blog/clickhouse-release-24-04](https://clickhouse.com/blog/clickhouse-release-24-04)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [SQL](https://swe.quest/tags/sql.md) (Languages)
- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Query engines](https://swe.quest/tags/query-engines.md) (Data & databases)
- [Databases](https://swe.quest/tags/databases.md) (Data & databases)

## Prerequisites

- SQL joins ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))
- window functions
- common table expressions

## Keywords

ClickHouse, recursive CTE, QUALIFY, predicate pushdown, SQL:1999, OpenSky

## Related posts

- [ClickHouse Release 26.3](https://swe.quest/articles/clickhouse-release-26-3-ea6c8bff46efb19b.md): ClickHouse · 2026-04-07 · Medium · 15 min read · Analytics & OLAP, Query engines, Storage engines, SQL, WebAssembly
  ClickHouse 26.3 ships 27 features, 40 performance optimizations and 202 bug fixes.
- [ClickHouse Release 24.3](https://swe.quest/articles/clickhouse-release-24-3-88245754748d4a42.md): ClickHouse · 2024-04-09 · Medium · 11 min read · Analytics & OLAP, Query engines, SQL, Cloud platforms
  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.
- [What's new in pg\_clickhouse v0.10.0: Subqueries, TPC-H Speedups, C Driver, and Aggregates](https://swe.quest/articles/what-s-new-in-pg-clickhouse-v0-10-0-subqueries-tpc-h-speedups-c-driver-and-178ced76a7784be7.md): ClickHouse · 2026-08-11 · Hard · 11 min read · PostgreSQL, Query engines, Analytics & OLAP, SQL, Performance engineering
  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.
- [ClickHouse Release 24.8 LTS](https://swe.quest/articles/clickhouse-release-24-8-lts-0a43fff10e32a288.md): ClickHouse · 2024-09-03 · Medium · 14 min read · Analytics & OLAP, Databases, SQL
  ClickHouse 24.8 is a Long Term Support release (supported for 12 months) with 19 new features, 18 performance optimisations and 65 bug fixes.
- [ClickHouse Release 25.10](https://swe.quest/articles/clickhouse-release-25-10-a4195d25b3b54d91.md): ClickHouse · 2025-11-07 · Medium · 17 min read · Query engines, Analytics & OLAP, Performance engineering, Vector search, SQL
  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.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
