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

Marek Novotny commented on SPARK-23928:
---------------------------------------

[~hzlu] Cool. (Re: Testing) Sounds good to me. It would be difficult to try to 
test the randomness. Instead of that, I would refer to some well-known 
algorithm (e.g. Fisher–Yates).

> 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