v.21.11Improvements
Fixed clickhouse-format obfuscation for queries with embedded dictionaries
Fixed the issue:clickhouse-format --obfuscatecannot process queries with embedded dictionaries (functionsregionTo...). #29667 (alexey-milovidov).
Why it matters
The fix resolves an issue where theclickhouse-format --obfuscate command failed to handle queries using embedded dictionary functions, improving query formatting and obfuscation for these cases. This enhances usability by enabling obfuscation of queries with dictionary lookups, ensuring sensitive information can be hidden while maintaining query structure.How to use it
Use theclickhouse-format tool with the --obfuscate flag as before to obfuscate queries containing embedded dictionary functions. The update enables successful processing without errors, so no changes to usage are required.