You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/03/13 04:46:36 UTC

[jira] [Assigned] (SPARK-13841) Remove Dataset.collectRows() and Dataset.takeRows()

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

Apache Spark reassigned SPARK-13841:
------------------------------------

    Assignee: Apache Spark  (was: Cheng Lian)

> Remove Dataset.collectRows() and Dataset.takeRows()
> ---------------------------------------------------
>
>                 Key: SPARK-13841
>                 URL: https://issues.apache.org/jira/browse/SPARK-13841
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Cheng Lian
>            Assignee: Apache Spark
>
> These two methods were added because the original {{DataFrame.collect()}} and {{DataFrame.take()}} methods became methods of {{Dataset\[T\]}} after merging DataFrame and Dataset API. However, Java doesn't allow returning generic array, and thus erased their return type to {{Object}}. This breaks compilation of Java code. After discussion, we decided to simply resort to existing {{collectAsList()}} and {{takeAsList()}} methods and remove these two extra specialized ones.



--
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