v.23.4Improvement

Support Additional Types in CapnProto Format

Support more types in CapnProto format: Map, (U)Int(128|256), Decimal(128|256). Allow integer conversions during input/output. #48257 (Kruglov Pavel).
Adds support for additional data types in the CapnProto format, including Map, UInt128, UInt256, Int128, Int256, Decimal128, and Decimal256, with integer conversion allowed during input and output.

Why it matters

This feature extends the compatibility of the CapnProto format with more complex and larger data types, enabling users to efficiently serialize and deserialize a wider range of ClickHouse data types. It solves the limitation of previously unsupported types, improving interoperability and data handling precision.

How to use it

Users can enable these new types by using the CapnProto format as usual. The format now natively supports Map, (U)Int128, (U)Int256, Decimal128, and Decimal256 types without additional configuration. Integer conversion between input and output is handled automatically.