[ 
https://issues.apache.org/jira/browse/SPARK-23928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16476043#comment-16476043
 ] 

H Lu commented on SPARK-23928:
------------------------------

I will submit a pull request by today. Sorry about the delay. By the way, what 
do you think is a good test for shuffle? My idea is, verify the shuffled array 
and the original array: 1. not equal, 2. equal, ignoring order of shuffled 
array.

> High-order function: shuffle(x) → array
> ---------------------------------------
>
>                 Key: SPARK-23928
>                 URL: https://issues.apache.org/jira/browse/SPARK-23928
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Xiao Li
>            Priority: Major
>
> Ref: https://prestodb.io/docs/current/functions/array.html
> Generate a random permutation of the given array x.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to