You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Subhobrata Dey (JIRA)" <ji...@apache.org> on 2016/04/04 21:50:25 UTC

[jira] [Commented] (SPARK-14372) Dataset.randomSplit() needs a Java version

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

Subhobrata Dey commented on SPARK-14372:
----------------------------------------

Hi [~lian cheng],

I would like to work on this issue if you allow.

> Dataset.randomSplit() needs a Java version
> ------------------------------------------
>
>                 Key: SPARK-14372
>                 URL: https://issues.apache.org/jira/browse/SPARK-14372
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Cheng Lian
>
> {{Dataset.randomSplit()}} now returns {{Array\[Dataset\[T\]\]}}, which doesn't work for Java users since Java methods can't return generic arrays. We may want something like {{randomSplitAsList()}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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