GitHub user mikkokupsu opened a pull request:
https://github.com/apache/spark/pull/17973
SPARK-20731][SQL] Add ability to change or omit .csv file extension in CSV
Data Source
## What changes were proposed in this pull request?
Add new option to CSV Data Source to make changing hard coded ".csv" file
extension to something else.
https://issues.apache.org/jira/browse/SPARK-20731
## How was this patch tested?
Unit tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mikkokupsu/spark master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/17973.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 #17973
----
commit 6dacbb5f4725cef4b26f0569ec527b5e0df8f897
Author: Mikko Kupsu <[email protected]>
Date: 2017-04-11T18:51:09Z
Merge remote-tracking branch 'upstream/master'
commit df82d510f140651e5b1c6f8101a66f84c2575b56
Author: Mikko Kupsu <[email protected]>
Date: 2017-04-11T19:02:35Z
Add option to specify custom file extension with csv
commit 3839cf440097dc560a8a55f0874703e75441edf8
Author: Mikko Kupsu <[email protected]>
Date: 2017-04-18T19:47:38Z
Merge remote-tracking branch 'upstream/master'
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]