What is the problem the feature request solves?
As of #2477, the reverse function with an ArrayType input falls back to vanilla Spark execution.
Add support for reverse to work natively with ArrayType inputs.
sql("set spark.sql.optimizer.excludedRules=org.apache.spark.sql.catalyst.optimizer.ConstantFolding")
sql("SELECT reverse(array(2, 1, 4, 3))").show
Describe the potential solution
No response
Additional context
No response
What is the problem the feature request solves?
As of #2477, the
reversefunction with anArrayTypeinput falls back to vanilla Spark execution.Add support for
reverseto work natively withArrayTypeinputs.Describe the potential solution
No response
Additional context
No response