Skip to content

Conversation

@HyukjinKwon
Copy link
Member

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.

@HyukjinKwon
Copy link
Member Author

cc @felixcheung, this simply renames it to as.json.array.

@SparkQA
Copy link

SparkQA commented Apr 16, 2017

Test build #75844 has finished for PR 17653 at commit 17d8190.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@felixcheung
Copy link
Member

merged to master. thanks

@asfgit asfgit closed this in 24f09b3 Apr 17, 2017
@HyukjinKwon HyukjinKwon deleted the SPARK-19828-followup branch January 2, 2018 03:38
peter-toth pushed a commit to peter-toth/spark that referenced this pull request Oct 6, 2018
…m_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.

Author: hyukjinkwon <[email protected]>

Closes apache#17653 from HyukjinKwon/SPARK-19828-followup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants