v.23.12Improvement

clickhouse-format --obfuscate retains settings and time zone names unchanged

clickhouse-format --obfuscate will know about Settings, MergeTreeSettings, and time zones and keep their names unchanged. #58179 (Alexey Milovidov).
clickhouse-format --obfuscate command now recognizes Settings, MergeTreeSettings, and time zone names and preserves these names without obfuscation.

Why it matters

This feature improves the clickhouse-format --obfuscate functionality by preventing the obfuscation of important configuration setting names and time zone identifiers. This helps maintain readability and functionality of obfuscated queries that include these elements.

How to use it

When using the clickhouse-format --obfuscate command to obfuscate SQL queries, the tool will automatically keep Settings, MergeTreeSettings, and time zone names unchanged in the output without requiring any additional options.