v.25.3New Feature

Replace table functions

Replace table functions with their -Cluster alternatives if parallel replicas are enabled. Fixes #65024. #70659 (Konstantin Bogdanov).
Automatically replace table functions with their -Cluster alternatives when parallel replicas are enabled.

Why it matters

This feature addresses the issue where standard table functions do not correctly support parallel replica processing in ClickHouse clusters. By substituting these functions with their -Cluster versions, queries run efficiently across replicas, ensuring correct distributed query execution and improving performance in clustered environments.

How to use it

When parallel replicas are enabled in your ClickHouse cluster configuration, the system will automatically replace standard table functions with their corresponding -Cluster variants during query execution. No manual changes to your queries are needed to benefit from this feature.