v.19.3New Features

Added Protobuf Output Format

Added Protobuf output format. #4005 #4158 (Vitaly Baranov)
Added support for the Protobuf output format in ClickHouse, enabling data to be exported in Protocol Buffers serialization.

Why it matters

This feature allows users to export query results in the efficient and widely adopted Protocol Buffers (Protobuf) format. It solves the problem of interoperability with systems that consume Protobuf data and optimizes data serialization for network transfer and storage.

How to use it

To output query results in Protobuf format, append FORMAT Protobuf to your query. For example:

SELECT * FROM table_name FORMAT Protobuf

You may need to define the corresponding Protobuf schema to decode the data properly on the consumer side.