v.25.10Improvement
Add --semicolons_inline option in clickhouse-format
Add--semicolons_inlineoption inclickhouse-formatto format queries so that semicolons are placed on the last line instead of on a new line. #88018 (Jan Rada).
Why it matters
This feature improves query readability and formatting preferences by allowing users to control the placement of semicolons when formatting SQL queries, aligning with common coding styles where semicolons appear inline.How to use it
Use theclickhouse-format command with the --semicolons_inline option enabled. For example:clickhouse-format --semicolons_inline <query.sql>This command reformats the SQL query so that the semicolon appears inline at the end of the last line.