[
https://issues.apache.org/jira/browse/SPARK-8144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14575894#comment-14575894
]
Joseph K. Bradley commented on SPARK-8144:
------------------------------------------
Oops, I was mis-using it. But I think it indicates an odd API in Python. I
was trying to write:
{code}
myData = sqlContext.read.options(mergeMetadata=False).parquet("myDataPath")
{code}
and did not realize I had to make "False" a String. Should we cast arguments
to type String before calling the JVM method?
> PySpark SQL readwriter options() does not work
> ----------------------------------------------
>
> Key: SPARK-8144
> URL: https://issues.apache.org/jira/browse/SPARK-8144
> Project: Spark
> Issue Type: Bug
> Components: PySpark, SQL
> Affects Versions: 1.4.0
> Reporter: Joseph K. Bradley
>
> Because of typos in lines 81 and 240 of:
> [https://github.com/apache/spark/blob/16fc49617e1dfcbe9122b224f7f63b7bfddb36ce/python/pyspark/sql/readwriter.py]
> (Search for "option(")
> CC: [~yhuai] [~davies]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]