v.21.7New Feature

Support YAML Configuration Format as Alternative to XML

Support configuration in YAML format as alternative to XML. This closes #3607. #21858 (BoloniniD).
ClickHouse now supports configuration files in YAML format as an alternative to the existing XML format.

Why it matters

This feature addresses the need for a more user-friendly and widely adopted configuration format, making it easier for users to write and manage ClickHouse configurations. YAML's readability improves accessibility for new users and simplifies configuration maintenance.

How to use it

Users can write their ClickHouse configuration files in YAML syntax instead of XML. Simply create or convert the configuration files with the .yaml or .yml extension and place them in the appropriate configuration directory. ClickHouse will automatically recognize and parse the YAML configuration files alongside or instead of XML ones.