GitHub user danielvdende opened a pull request: https://github.com/apache/spark/pull/18304
[SPARK-21098] Add lineseparator parameter to csv options This commit adds the lineSeparator option to the spark support for reading/writing csv files. ## What changes were proposed in this pull request? This PR adds support for specifying the `lineSeparator` option when reading/writing to/from csv. This functionality is supported by the Univocity parsers library in use by Spark. ## How was this patch tested? A file with DOS (`\r\n`) line endings was added to the CsvSuite, which should produce the exact same results given the correct line separator You can merge this pull request into a Git repository by running: $ git pull https://github.com/danielvdende/spark add-csv-line-separator-option Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/18304.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #18304 ---- commit 9684a39394b1fd35636af6adc3e45394b01934cf Author: Daniel van der Ende <daniel.vandere...@gmail.com> Date: 2017-06-14T18:19:50Z [SPARK-21098] Add lineseparator parameter to csv options This commit adds the lineSeparator option to the spark support for reading/writing csv files. ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org