You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shivaram Venkataraman (JIRA)" <ji...@apache.org> on 2016/09/08 15:24:22 UTC

[jira] [Resolved] (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 ]

Shivaram Venkataraman resolved SPARK-17442.
-------------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.0
                   2.0.1

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

> 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: Blocker
>             Fix For: 2.0.1, 2.1.0
>
>
> {{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