You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hossein Falaki (JIRA)" <ji...@apache.org> on 2016/09/07 23:38:20 UTC

[jira] [Updated] (SPARK-17442) Additional arguments in write.df are not passed to data source

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

Hossein Falaki updated SPARK-17442:
-----------------------------------
    Priority: Critical  (was: Major)

> Additional arguments in write.df are not passed to data source
> --------------------------------------------------------------
>
>                 Key: SPARK-17442
>                 URL: https://issues.apache.org/jira/browse/SPARK-17442
>             Project: Spark
>          Issue Type: Bug
>          Components: SparkR
>    Affects Versions: 2.0.0
>            Reporter: Hossein Falaki
>            Priority: Critical
>
> {{write.df}} passes everything in its arguments to underlying data source in 1.x, but it is not passing header = "true" in Spark 2.0. For example the following code snippet produces a header line in older versions of Spark but not in 2.0.
> {code}
> df <- createDataFrame(iris)
> write.df(df, source = "com.databricks.spark.csv", path = "/tmp/iris", header = "true")
> {code}



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