You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:24:07 UTC

[jira] [Updated] (SPARK-14283) Avoid sort in randomSplit when possible

     [ https://issues.apache.org/jira/browse/SPARK-14283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon updated SPARK-14283:
---------------------------------
    Labels: bulk-closed  (was: )

> Avoid sort in randomSplit when possible
> ---------------------------------------
>
>                 Key: SPARK-14283
>                 URL: https://issues.apache.org/jira/browse/SPARK-14283
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Joseph K. Bradley
>            Priority: Major
>              Labels: bulk-closed
>
> Dataset.randomSplit sorts each partition in order to guarantee an ordering and make randomSplit deterministic given the seed.  Since randomSplit is used a fair amount in ML, it would be great to avoid the sort when possible.
> Are there cases when it could be avoided?



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

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