v.20.3Improvement

Fix Progress Reporting in Native Client-Server Protocol

Fix progress over native client-server protocol, by send progress after final update (like logs). This may be relevant only to some third-party tools that are using native protocol. #9495 (Azat Khuzhin)
Fix progress reporting over native client-server protocol by sending progress after the final update, similar to how logs are sent.

Why it matters

This fix addresses issues where some third-party tools using the native ClickHouse protocol may not receive the final progress update correctly. It ensures consistent and accurate progress reporting throughout the query lifecycle.

How to use it

No user action is required. The fix is applied internally to the native client-server protocol, improving progress reporting automatically for clients relying on it.