-
- Downloads
[MINOR] [SPARKR] Update data-manipulation.R to use native csv reader
## What changes were proposed in this pull request? * Since Spark has supported native csv reader, it does not necessary to use the third party ```spark-csv``` in ```examples/src/main/r/data-manipulation.R```. Meanwhile, remove all ```spark-csv``` usage in SparkR. * Running R applications through ```sparkR``` is not supported as of Spark 2.0, so we change to use ```./bin/spark-submit``` to run the example. ## How was this patch tested? Offline test. Author: Yanbo Liang <ybliang8@gmail.com> Closes #13005 from yanboliang/r-df-examples.
Showing
- R/pkg/R/sparkR.R 1 addition, 2 deletionsR/pkg/R/sparkR.R
- R/pkg/inst/tests/testthat/test_client.R 2 additions, 4 deletionsR/pkg/inst/tests/testthat/test_client.R
- docs/sparkr.md 2 additions, 2 deletionsdocs/sparkr.md
- examples/src/main/r/data-manipulation.R 3 additions, 4 deletionsexamples/src/main/r/data-manipulation.R
Loading
Please register or sign in to comment