v.20.12New Feature
Allow Custom History File Path in ClickHouse Client with --history_file Parameter
Make it possible to change the path to history file inclickhouse-clientusing the--history_fileparameter. #15960 (Maksim Kita).
Why it matters
This feature enables users to control where theclickhouse-client stores its command history, providing flexibility for cases such as custom environment setups, user preferences, or avoiding history file conflicts.How to use it
Launchclickhouse-client with the --history_file option followed by the desired file path. For example:clickhouse-client --history_file=/path/to/custom_history_file