GitHub user HyukjinKwon opened a pull request:
https://github.com/apache/spark/pull/17653
[SPARK-19828][R][FOLLOWUP] Rename asJsonArray to as.json.array in from_json
function in R
## What changes were proposed in this pull request?
This was suggested to be `as.json.array` at the first place in the PR to
SPARK-19828 but we could not do this as the lint check emits an error for
multiple dots in the variable names.
After SPARK-20278, now we are able to use `multiple.dots.in.names`.
`asJsonArray` in `from_json` function is still able to be changed as 2.2 is not
released yet.
So, this PR proposes to rename `asJsonArray` to `as.json.array`.
## How was this patch tested?
Jenkins tests, local tests with `./R/run-tests.sh` and manual
`./dev/lint-r`. Existing tests should cover this.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HyukjinKwon/spark SPARK-19828-followup
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/17653.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 #17653
----
commit 17d819022de875777e158e94ad3ef1c8d6d2f3aa
Author: hyukjinkwon <[email protected]>
Date: 2017-04-16T21:39:28Z
Rename asJsonArray to as.json.array in from_json function in R
----
---
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]