v.25.6Improvement

Support Dynamic and JSON

Implement flattened serialization for Dynamic and JSON in Native format that allows to serialize/deserialize Dynamic and JSON data without special structures like shared variant for Dynamic and shared data for JSON. This serialization can be enabled by setting output_format_native_use_flattened_dynamic_and_json_serialization. This serialization can be used for easier support for Dynamic and JSON in TCP protocol in clients in different languages. #80499 (Pavel Kruglov).
Flattened serialization for Dynamic and JSON data types in the Native format has been implemented, enabling serialization and deserialization without relying on special structures like shared variant for Dynamic or shared data for JSON.

Why it matters

This feature addresses the complexity in handling Dynamic and JSON data serialization by simplifying their representation in the Native format. It facilitates easier support and interoperability for Dynamic and JSON data over the TCP protocol, especially for clients implemented in different programming languages.

How to use it

To enable this feature, set the setting output_format_native_use_flattened_dynamic_and_json_serialization to true. This activates the flattened serialization during Native format output, making Dynamic and JSON data easier to consume on the client side.