Davies Liu created SPARK-3500:
---------------------------------
Summary: 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
Priority: Critical
>>> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]