v.24.5Experimental Feature

Implement Experimental Dynamic Data Type in ClickHouse

Implement Dynamic data type that allows to store values of any type inside it without knowing all of them in advance. Dynamic type is available under a setting allow_experimental_dynamic_type. Reference: #54864. #63058 (Kruglov Pavel).
Implemented the Dynamic data type that can store values of any type dynamically without predefined schemas.

Why it matters

This feature addresses the challenge of handling heterogeneous or schema-less data by allowing users to store and manipulate values of varying types within a single column. It provides flexibility when the exact data types are not known in advance, simplifying ingestion and processing of dynamic data.

How to use it

Enable the feature by setting allow_experimental_dynamic_type to 1. Then, define columns using the Dynamic type and use standard SQL queries to insert and retrieve data of any type.