GitHub user HyukjinKwon opened a pull request:
https://github.com/apache/spark/pull/15239
[SPARK-17665][SPARKR] Support options/mode all for read/write APIs and
options in other types
## What changes were proposed in this pull request?
This PR includes the changes below:
- Support `mode`/`options` in `read.parquet`, `write.parquet`,
`read.orc`, `write.orc`, `read.text`, `write.text`, `read.json` and
`write.json` APIs
- Support other types (logical, numeric and string) as options for
`write.df`, `read.df`, `read.parquet`, `write.parquet`, `read.orc`,
`write.orc`, `read.text`, `write.text`, `read.json` and `write.json`
## How was this patch tested?
Unit tests in `test_sparkSQL.R`/ `utils.R`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HyukjinKwon/spark SPARK-17665
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15239.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 #15239
----
commit 7692fbc3cbc1ab808b74321825dac3b90b8d5067
Author: hyukjinkwon <[email protected]>
Date: 2016-09-26T06:03:33Z
Support other types for options
commit a9ffac85b091e8e4f88a6cdec5e8c462c7bf9125
Author: hyukjinkwon <[email protected]>
Date: 2016-09-26T07:23:40Z
Add mode and options for read/write.parquet read/write.json read/write.orc
read/write.text
commit 924ec77e6e57386859ac980eb829543019fb02ba
Author: hyukjinkwon <[email protected]>
Date: 2016-09-26T07:31:21Z
Fix indentation
commit a9f9df856ee9a403634c017b1de6dddf013e5623
Author: hyukjinkwon <[email protected]>
Date: 2016-09-26T08:05:40Z
Fix utils and add the tests for utils
----
---
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]