spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HyukjinKwon <>
Subject [GitHub] spark pull request #13252: [SPARK-15473][SQL] CSV data source fails to write...
Date Fri, 10 Jun 2016 07:44:13 GMT
GitHub user HyukjinKwon reopened a pull request:

    [SPARK-15473][SQL] CSV data source fails to write and read back empty data

    ## What changes were proposed in this pull request?
    This PR adds the support for writing and reading back empty data in CSV data source.
     Also, this PR lets the CSV data source write schema in the header when `header` option
is `true` even if given data is empty. Currently, this is not writing header in this case.
    Currently, Parquet and JSON can write and read back empty dataset but CSV does not support.
    ## How was this patch tested?
    Unit tests in `CSVSuite.scala`.

You can merge this pull request into a Git repository by running:

    $ git pull SPARK-15473

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #13252
commit 9e505527caaf2db6909f542918ddbe03c112d040
Author: hyukjinkwon <>
Date:   2016-05-22T11:17:36Z

    CSV data source fails to write and read back

commit f38569a5645547e1218c845b94792382f9f74400
Author: hyukjinkwon <>
Date:   2016-05-24T01:44:31Z

    Resolve conflicts

commit 67d6ee70e9915e3d9c000e3fe80a1d80a01504f6
Author: hyukjinkwon <>
Date:   2016-05-26T08:22:19Z

    Resolve conflicts


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message