v.24.1New Feature

Support for Enum Data Types in Transform Function

Support for Enum data types in function transform. This closes #58241. #58360 (Alexey Milovidov).
Added support for Enum data types in the transform function.

Why it matters

This feature enables users to utilize Enum types directly within the transform function, improving type compatibility and making it easier to map Enum values to desired outputs without explicit type conversion.

How to use it

Use the transform function with columns of Enum data type just like any other supported data type. For example:

SELECT transform(enum_column, ['EnumValue1', 'EnumValue2'], ['Result1', 'Result2']) FROM table