v.23.3Improvement
Support Bool Type in JSONType Function
SupportBooltype inJSONTypefunction. PreviouslyNulltype was mistakenly returned for bool values. #47046 (Anton Popov).
Why it matters
This feature fixes the incorrect type identification inJSONType when encountering boolean values, ensuring boolean JSON values are correctly recognized as Bool instead of Null. This improves accuracy and reliability when analyzing JSON data types.How to use it
Users can simply use theJSONType function on JSON data containing boolean values to get accurate type identification for Bool values without any additional configuration.