v.25.8Improvement
Update clickhouse-format to accept --highlight as
Updatedclickhouse-formatto accept--highlightas an alias for--hilite. - Updatedclickhouse-clientto accept--hiliteas an alias for--highlight. - Updatedclickhouse-formatdocumentation to reflect the change. #84806 (Rishabh Bhardwaj).
Why it matters
This feature improves usability by providing a more intuitive and consistent command-line option name, making it easier for users to remember and apply syntax highlighting when formatting or interacting with ClickHouse query outputs.How to use it
Use the--highlight option interchangeably with --hilite in both clickhouse-format and clickhouse-client commands to enable syntax highlighting. For example:clickhouse-format --highlight
clickhouse-client --highlight