GitHub user HyukjinKwon opened a pull request:
https://github.com/apache/spark/pull/20075
[SPARK-21208][R] Adds setLocalProperty in R
## What changes were proposed in this pull request?
This PR adds `setLocalProperty` in R.
```R
> df <- createDataFrame(iris)
> setLocalProperty("spark.job.description", "Hello world!")
> count(df)
> setLocalProperty("spark.job.description", "Hi !!")
> count(df)
```
<img width="775" alt="2017-12-25 4 18 07"
src="https://user-images.githubusercontent.com/6477701/34335213-60655a7c-e990-11e7-88aa-12debe311627.png">
## How was this patch tested?
Manually tested and a test in `R/pkg/tests/fulltests/test_context.R`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HyukjinKwon/spark SPARK-21208
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20075.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 #20075
----
commit c9c7aeed2894dc3e06c75b1feeb3d952cb3f256e
Author: hyukjinkwon <gurwls223@...>
Date: 2017-12-25T07:19:57Z
Adds setLocalProperty in R
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]