v.25.4Improvement
Implement comparison
Implement comparison for values of JSON data type. Now JSON objects can be compared similarly to Maps. #77397 (Pavel Kruglov).
Why it matters
This feature allows users to directly compareJSON values in queries, solving the problem of lack of native comparison support for JSON data. It enhances querying capabilities and simplifies operations involving JSON data.How to use it
Users can now use standard comparison operators (such as=, <, >) directly on JSON typed columns or values in SQL queries, as they do with Map types.