v.22.11Improvement
Progress Display Enhancement in ClickHouse Client
If/dev/ttyis available, the progress in clickhouse-client and clickhouse-local will be rendered directly to the terminal, without writing to STDERR. It allows getting progress even if STDERR is redirected to a file, and the file will not be polluted by terminal escape sequences. The progress can be disabled by--progress false. This closes #32238. #42003 (Alexey Milovidov).
Why it matters
This feature improves progress visibility when STDERR output is redirected to a file, preventing the file from being polluted with terminal escape sequences and allowing users to monitor progress directly in the terminal.How to use it
By default, progress is rendered to/dev/tty if available. To disable the progress display, use the command-line option --progress false when running clickhouse-client or clickhouse-local.