v.25.11Improvement

Improve error message when generic expansion is

Improve error message when generic expansion is passed instead of cluster name to a *Cluster table function. #89093 (Konstantin Bogdanov).
Improved error message when a generic expansion is passed instead of a cluster name to a *Cluster table function in ClickHouse.

Why it matters

This feature enhances user experience by providing a clearer and more informative error message when users mistakenly provide a generic expansion rather than a specific cluster name to a *Cluster table function. This helps users quickly identify and fix their mistakes, reducing confusion and debugging time.

How to use it

Users do not need to enable anything explicitly. When using *Cluster table functions, if a generic expansion is incorrectly supplied instead of a cluster name, ClickHouse will now return an improved, descriptive error message guiding the user to correct the input.