You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Cheng Lian (JIRA)" <ji...@apache.org> on 2016/04/11 11:15:25 UTC
[jira] [Resolved] (SPARK-14372) Dataset.randomSplit() needs a Java
version
[ https://issues.apache.org/jira/browse/SPARK-14372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cheng Lian resolved SPARK-14372.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Issue resolved by pull request 12184
[https://github.com/apache/spark/pull/12184]
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org