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

Cheng Lian resolved SPARK-13841.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 11678
[https://github.com/apache/spark/pull/11678]

> 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: Cheng Lian
>             Fix For: 2.0.0
>
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to