You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "koert kuipers (JIRA)" <ji...@apache.org> on 2018/11/28 18:17:00 UTC

[jira] [Created] (SPARK-26208) Empty dataframe does not roundtrip for csv with header

koert kuipers created SPARK-26208:
-------------------------------------

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


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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org