[
https://issues.apache.org/jira/browse/SPARK-23928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16476043#comment-16476043
]
H Lu edited comment on SPARK-23928 at 5/15/18 3:48 PM:
-------------------------------------------------------
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. [~mn-mikke]
was (Author: hzlu):
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: [email protected]
For additional commands, e-mail: [email protected]