v.25.6Improvement

Now, clickhouse-client and local also accept query

Now, clickhouse-client and local also accept query parameters as param-<name> (dash) along with param_<name> (underscore). This closes #63093. #79429 (Engel Danila).
ClickHouse now supports passing query parameters with both param-<name> (dash) and param_<name> (underscore) formats in clickhouse-client and local tools.

Why it matters

This feature enhances flexibility and usability by allowing users to provide query parameters using dash-separated names in addition to the previously supported underscore-separated names, making parameter naming more consistent with different conventions or scripts.

How to use it

When executing queries with clickhouse-client or local, users can specify parameters using either param-<name>=<value> or param_<name>=<value> syntax. Both formats are accepted interchangeably for query parameter passing.