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

Cheng Lian commented on SPARK-14372:
------------------------------------

Ah, sorry for the late reply. It's already taken by others. (At first I thought 
it was your PR, but later realized that it wasn't.)

> 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
>            Assignee: Rekha Joshi
>             Fix For: 2.0.0
>
>
> {{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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to