v.20.5New Feature
clickhouse-format tool enhances multi-query formatting with -n argument
Theclickhouse-formattool is now able to format multiple queries when the-nargument is used. #10852 (Darío).
Why it matters
This feature solves the problem of manually formatting multiple SQL queries individually by enabling batch formatting inclickhouse-format. It improves the developer experience by allowing efficient and consistent formatting of multi-query inputs.How to use it
To format multiple queries, use theclickhouse-format tool with the -n argument. For example:clickhouse-format -n < input.sql