v.25.12Improvement

Support JSON type

Support JSON type in tupleElement. Closes #81630. #91327 (Pavel Kruglov).
Added support for the JSON data type in the tupleElement function.

Why it matters

This feature enables users to extract elements of type JSON from tuples using the tupleElement function, thereby enhancing the function's versatility and support for complex data types.

How to use it

Use the tupleElement function with tuples containing JSON type elements as usual. For example:

SELECT tupleElement(your_tuple, index) FROM your_table;


where the tuple can now include JSON typed elements.