v.20.5Improvement
Remove Trailing Whitespaces from Queries in ClickHouse Client
Remove trailing whitespaces from formatted queries inclickhouse-clientorclickhouse-formatin some cases. #11325 (alexey-milovidov).
Why it matters
This feature addresses the issue of unnecessary trailing whitespace in formatted SQL queries, which can cause confusion and make the output less clean. By trimming these spaces, it enhances the clarity and usability of the query formatting output.How to use it
This improvement is applied automatically when using theclickhouse-client or clickhouse-format commands to format queries. No additional configuration or flags are required.