spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shivaram Venkataraman (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-17442) Additional arguments in write.df are not passed to data source
Date Thu, 08 Sep 2016 15:24:22 GMT

     [ 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


Mime
View raw message