Gschiavon edited a comment on issue #25728: [SPARK-29020][WIP][SQL] Improving 
array_sort behaviour
URL: https://github.com/apache/spark/pull/25728#issuecomment-536013344
 
 
   @kiszk This is my problem while making tests for the new signature.
   I want to test `case class ArraySort(argument: Expression, function: 
Expression)`  
   
   And I don't know how to pass the comparator function parameter without 
registering the UDF, like forexample:
   `val func: (Expression, Expression) => Expression = (x, y) => if(x > y) 1  
else ...` 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to