v.25.6Improvement
Function reverse now supports Tuple data type
Functionreversenow supportsTupledata type. Closes #80053. #80083 (flynn).
Why it matters
This feature allows users to reverse the order of elements within tuples using thereverse function, enabling more flexible manipulation of tuple data. It solves the limitation where reverse could not be applied to tuples, enhancing data processing capabilities.How to use it
Users can apply thereverse function directly to tuple values in their queries. For example:SELECT reverse(tuple(1, 2, 3))This will return the tuple with elements in reversed order.