GitHub user HyukjinKwon opened a pull request:
https://github.com/apache/spark/pull/10895
[SPARK-12901][SQL] Refactor options for JSON and CSV datasource (not case
class and same format).
https://issues.apache.org/jira/browse/SPARK-12901
This PR refactors the options in JSON and CSV datasources.
In more details,
1. `JSONOptions` uses the same format as `CSVOptions`.
2. Not case classes.
3. `CSVRelation` that does not have to be serializable (it was `with
Serializable` but I removed)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HyukjinKwon/spark SPARK-12901
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10895.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 #10895
----
commit 3770ffba766f014dc7a8b2332d7d8ab40dc17750
Author: hyukjinkwon <[email protected]>
Date: 2016-01-25T04:54:44Z
Refactor CSVParamters and JSONOptions.
----
---
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]