[ 
https://issues.apache.org/jira/browse/SPARK-26208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16702345#comment-16702345
 ] 

Apache Spark commented on SPARK-26208:
--------------------------------------

User 'koertkuipers' has created a pull request for this issue:
https://github.com/apache/spark/pull/23173

> Empty dataframe does not roundtrip for csv with header
> ------------------------------------------------------
>
>                 Key: SPARK-26208
>                 URL: https://issues.apache.org/jira/browse/SPARK-26208
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.4.0
>         Environment: master branch,
> commit 034ae305c33b1990b3c1a284044002874c343b4d,
> date:   Sun Nov 18 16:02:15 2018 +0800
>            Reporter: koert kuipers
>            Priority: Minor
>
> when we write empty part file for csv and header=true we fail to write 
> header. the result cannot be read back in.
> when header=true a part file with zero rows should still have header



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to