Ramanan Subramanian created SPARK-35970:
-------------------------------------------

             Summary: Allow predicate for pyspark.sql.functions.array_sort
                 Key: SPARK-35970
                 URL: https://issues.apache.org/jira/browse/SPARK-35970
             Project: Spark
          Issue Type: Wish
          Components: SQL
    Affects Versions: 3.1.2
            Reporter: Ramanan Subramanian


Currently, both the Python API and the Scala API for the SQL function 
`array_sort` do not take a predicate boolean function/lambda expression as a 
second argument. Hence, we have to resort to `expression` or `selectExpression` 
and use the DSL for the predicate function. It would be nice to allow this, 
just like all the higher-order functions.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to