-
- Downloads
[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`. Author: hyukjinkwon <gurwls223@gmail.com> Closes #15239 from HyukjinKwon/SPARK-17665.
Showing
- R/pkg/R/DataFrame.R 31 additions, 12 deletionsR/pkg/R/DataFrame.R
- R/pkg/R/SQLContext.R 17 additions, 6 deletionsR/pkg/R/SQLContext.R
- R/pkg/R/generics.R 6 additions, 4 deletionsR/pkg/R/generics.R
- R/pkg/R/utils.R 22 additions, 0 deletionsR/pkg/R/utils.R
- R/pkg/inst/tests/testthat/test_sparkSQL.R 75 additions, 0 deletionsR/pkg/inst/tests/testthat/test_sparkSQL.R
- R/pkg/inst/tests/testthat/test_utils.R 9 additions, 0 deletionsR/pkg/inst/tests/testthat/test_utils.R
Please register or sign in to comment