v.25.7Improvement

Do not omit zero values

Do not omit zero values in the X-ClickHouse-Progress and X-ClickHouse-Summary header formats. #82727 (Nikita Mikhaylov).
Do not omit zero values in the X-ClickHouse-Progress and X-ClickHouse-Summary HTTP header formats.

Why it matters

This change ensures that zero values are included in the X-ClickHouse-Progress and X-ClickHouse-Summary headers sent by ClickHouse. Previously, zero values might have been omitted, which could lead to incomplete or misleading progress and summary information being reported to users or monitoring systems. Including zero values provides a more accurate and consistent representation of the query execution state.

How to use it

This feature is applied automatically when using ClickHouse HTTP interface. Users can observe the X-ClickHouse-Progress and X-ClickHouse-Summary headers in HTTP responses and expect zero values to be present instead of omitted.