v.21.8Improvement
Allow JSONExtract to Return Non-String Elements as Strings
Allow extracting of non-string element as string using JSONExtract. This is for #25414. #25452 (Amos Bird).Why it matters
This feature addresses the limitation whereJSONExtract could only extract string elements from JSON. It enables users to extract non-string elements (such as numbers, booleans, etc.) and receive them as strings, improving flexibility when working with JSON data in ClickHouse.How to use it
Use theJSONExtract function as usual to extract elements from JSON data. With this enhancement, non-string elements will now be returned as their string representation without additional conversion steps.