[
https://issues.apache.org/jira/browse/SPARK-17923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-17923.
----------------------------------
Resolution: Duplicate
This should be fixed in 2.0.1 and 2.1.0.
> dateFormat unexpected kwarg to df.write.csv
> -------------------------------------------
>
> Key: SPARK-17923
> URL: https://issues.apache.org/jira/browse/SPARK-17923
> Project: Spark
> Issue Type: Bug
> Components: PySpark
> Affects Versions: 2.0.0
> Reporter: Evan Zamir
> Priority: Minor
>
> Calling like this:
> {code}writer.csv(path, header=header, sep=sep, compression=compression,
> dateFormat=date_format){code}
> Getting the following error:
> {code}TypeError: csv() got an unexpected keyword argument 'dateFormat'{code}
> This error comes after being called with {code}date_format='yyyy-MM-dd'{code}
> as an argument.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]