-
Notifications
You must be signed in to change notification settings - Fork 210
Closed
Description
Background and Motivation:
Currently, we do not have a native implementation of reverse that aligns with Spark SQL behavior. To improve compatibility with Spark functions and reduce dependency on UDFs, we need to implement this function, supporting string inputs.
Objective and Scope:
Add a new native scalar function: reverse(expr), supporting the following data types:
- String:
Utf8,LargeUtf8 - Support for scalar and column vector (array) mixed input paths, ensuring consistent
ColumnarValuebehavior with existing built-in functions. Nullsemantics aligned with Spark.
Expected Behavior (Aligned with Spark):
reverse(string): Reverse the string according to Unicode code points.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels