v.21.12Improvements

ClickHouse Dictionary Source: Support Predefined Connections

ClickHouse dictionary source: support predefined connections. Closes #31705. #31749 (Kseniia Sumarokova).
ClickHouse dictionaries now support predefined connections as a dictionary source.

Why it matters

This feature enables users to leverage predefined connections when configuring ClickHouse dictionaries. It simplifies management of external data sources by reusing existing connection settings, improving maintainability and consistency across dictionary configurations.

How to use it

When defining a dictionary source, users can now specify a predefined connection name instead of full connection parameters. This applies to dictionary source configurations in the dictionary XML files or via CREATE DICTIONARY statements where connection specs are supported.