Details
Description
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
Attachments
Issue Links
- is duplicated by
-
SPARK-31657 CSV Writer writes no header for empty DataFrames
- Resolved
- relates to
-
SPARK-15473 CSV fails to write and read back empty dataframe
- Resolved
- links to