v.23.8Improvement

Search for Default YAML and YML Configs in ClickHouse Client After XML

Search for default yaml and yml configs in clickhouse-client after xml. #52767 (Alexey Milovidov).
Search for default yaml and yml configuration files in clickhouse-client after xml files.

Why it matters

This feature enhances the configuration file discovery process in clickhouse-client by adding support for yaml and yml formats. It solves the problem of clients only recognizing xml configuration files by enabling more flexible and modern configuration management using YAML, which is widely used and easier to read and write.

How to use it

Users don't need to explicitly enable anything. When clickhouse-client starts, it will automatically look for default yaml and yml config files after checking for xml files. Simply place your configuration files in YAML format alongside or instead of XML files.