v.23.1New Feature
Support for Nested Tables and Decimal Types in CapnProto Format for ClickHouse
Support reading/writingNestedtables asListofStructinCapnProtoformat. Read/writeDecimal32/64asInt32/64. Closes #43319. #43379 (Kruglov Pavel).
Why it matters
This feature enables better compatibility and interoperability between ClickHouse and systems using the CapnProto serialization format by correctly mapping nested and decimal types. It solves the issue of handling complex data structures likeNested tables and high-precision decimals during data exchange, improving data fidelity and client application support.How to use it
When using CapnProto format for input or output, ClickHouse will automatically read and writeNested tables as List of Struct and convert Decimal32/Decimal64 types as Int32/Int64. Users only need to specify the CapnProto format in their queries or data operations without additional configuration.