You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2014/09/13 04:29:33 UTC

[jira] [Resolved] (SPARK-3500) SchemaRDD from jsonRDD() has not coalesce() method

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

Josh Rosen resolved SPARK-3500.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.1.1
                   1.2.0

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

> SchemaRDD from jsonRDD() has not coalesce() method
> --------------------------------------------------
>
>                 Key: SPARK-3500
>                 URL: https://issues.apache.org/jira/browse/SPARK-3500
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark, SQL
>    Affects Versions: 1.1.0
>            Reporter: Davies Liu
>            Assignee: Davies Liu
>            Priority: Critical
>             Fix For: 1.2.0, 1.1.1
>
>
> {code}
> >>> sqlCtx.jsonRDD(sc.parallelize(['{"foo":"bar"}', '{"foo":"baz"}'])).coalesce(1)
> Py4JError: An error occurred while calling o94.coalesce. Trace:
> py4j.Py4JException: Method coalesce([class java.lang.Integer, class java.lang.Boolean]) does not exist
> {code}
> repartition() and distinct(N) are also missing too.



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