v.23.6Improvement

Add total_bytes_to_read to TCP Progress Packet for Enhanced Progress Bar

Add total_bytes_to_read to the Progress packet in TCP protocol for better Progress bar. #51158 (Kruglov Pavel).
Added total_bytes_to_read to the Progress packet in the TCP protocol to improve progress bar accuracy.

Why it matters

This feature enhances the ClickHouse client and server communication by including the total number of bytes expected to be read in the progress updates. It solves the problem of imprecise progress reporting during query execution, providing users with a more accurate and reliable progress bar visualization.

How to use it

Users benefit from this feature automatically when executing queries over the ClickHouse TCP protocol, as the total_bytes_to_read field is now included in the progress packets without requiring additional configuration.