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/01/22 03:12:40 UTC

[jira] [Assigned] (SPARK-5865) Add doc warnings for methods that return local data structures

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

Apache Spark reassigned SPARK-5865:
-----------------------------------

    Assignee: Apache Spark

> Add doc warnings for methods that return local data structures
> --------------------------------------------------------------
>
>                 Key: SPARK-5865
>                 URL: https://issues.apache.org/jira/browse/SPARK-5865
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core, SQL
>            Reporter: Nicholas Chammas
>            Assignee: Apache Spark
>            Priority: Minor
>              Labels: starter
>
> We should include a note in the doc string for any method that collects an RDD to the driver so that users have some hint of why their call might be OOMing.
> {{RDD.take()}}
> {{RDD.collect()}}
> * [Scala|https://github.com/apache/spark/blob/d8adefefcc2a4af32295440ed1d4917a6968f017/core/src/main/scala/org/apache/spark/rdd/RDD.scala#L803-L806]
> * [Python|https://github.com/apache/spark/blob/d8adefefcc2a4af32295440ed1d4917a6968f017/python/pyspark/rdd.py#L680-L683]
> {{DataFrame.head()}}
> {{DataFrame.toPandas()}}
> * [Python|https://github.com/apache/spark/blob/c76da36c2163276b5c34e59fbb139eeb34ed0faa/python/pyspark/sql/dataframe.py#L637-L645]
> {{Column.toPandas()}}
> * [Python|https://github.com/apache/spark/blob/c76da36c2163276b5c34e59fbb139eeb34ed0faa/python/pyspark/sql/dataframe.py#L965-L973]



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