v.22.5Improvement

Improve JSON Schema Inference

Improve schema inference for JSON objects. #36207 (Kruglov Pavel).
Improved schema inference for JSON objects in ClickHouse, enhancing automatic detection and parsing of JSON structure during data ingestion.

Why it matters

This feature addresses limitations in automatic schema detection when importing JSON data by improving the inference accuracy of JSON object structures. It helps users by enabling more reliable and precise extraction of nested fields and data types without manual schema specification.

How to use it

Users benefit from enhanced schema inference automatically when ingesting JSON data using ClickHouse's <code>JSONEachRow</code> or similar table engines and formats. No additional configuration is required to enable the improved inference; it seamlessly improves existing JSON parsing workflows.