v.21.11New Features

Executable and ExecutablePool now support send_chunk_header option

Executable, ExecutablePool added option send_chunk_header. If this option is true then chunk rows_count with line break will be sent to client before chunk. #28833 (Maksim Kita).
Executable and ExecutablePool now have a new option send_chunk_header that, when enabled, sends the chunk's row count followed by a line break to the client before the chunk data.

Why it matters

This feature is designed to provide clients with explicit information about the number of rows in each chunk before receiving the data itself. It helps improve data streaming transparency and allows clients to better manage chunked data processing or optimize consumption strategies.

How to use it

To enable this feature, set the send_chunk_header option to true in Executable or ExecutablePool configurations. Once enabled, the client will receive the row count of each chunk before the chunk data during query execution.