v.22.8Improvement

Add result_rows and result_bytes to progress reports

Add result_rows and result_bytes to progress reports (X-ClickHouse-Summary). #39567 (Raúl Marín).
Added result_rows and result_bytes metrics to progress reports in the X-ClickHouse-Summary HTTP header.

Why it matters

To provide users with more detailed and immediate insights into query execution progress by including the number of result rows and the amount of result bytes processed, enhancing monitoring and resource usage tracking.

How to use it

When executing queries via HTTP interface, inspect the X-ClickHouse-Summary header in the response; it now includes additional fields result_rows and result_bytes which report the current progress metrics.