diff options
author | hyukjinkwon <gurwls223@gmail.com> | 2017-03-26 18:40:00 -0700 |
---|---|---|
committer | Felix Cheung <felixcheung@apache.org> | 2017-03-26 18:40:00 -0700 |
commit | 3fbf0a5f9297f438bc92db11f106d4a0ae568613 (patch) | |
tree | fb68ad06fe172934d33aa8d9403c1c16e44dccd9 /R | |
parent | 0bc8847aa216497549c78ad49ec7ac066a059b15 (diff) | |
download | spark-3fbf0a5f9297f438bc92db11f106d4a0ae568613.tar.gz spark-3fbf0a5f9297f438bc92db11f106d4a0ae568613.tar.bz2 spark-3fbf0a5f9297f438bc92db11f106d4a0ae568613.zip |
[MINOR][DOCS] Match several documentation changes in Scala to R/Python
## What changes were proposed in this pull request?
This PR proposes to match minor documentations changes in https://github.com/apache/spark/pull/17399 and https://github.com/apache/spark/pull/17380 to R/Python.
## How was this patch tested?
Manual tests in Python , Python tests via `./python/run-tests.py --module=pyspark-sql` and lint-checks for Python/R.
Author: hyukjinkwon <gurwls223@gmail.com>
Closes #17429 from HyukjinKwon/minor-match-doc.
Diffstat (limited to 'R')
-rw-r--r-- | R/pkg/R/functions.R | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/R/pkg/R/functions.R b/R/pkg/R/functions.R index 2cff3ac08c..449476dec5 100644 --- a/R/pkg/R/functions.R +++ b/R/pkg/R/functions.R @@ -2632,8 +2632,8 @@ setMethod("date_sub", signature(y = "Column", x = "numeric"), #' format_number #' -#' Formats numeric column y to a format like '#,###,###.##', rounded to x decimal places, -#' and returns the result as a string column. +#' Formats numeric column y to a format like '#,###,###.##', rounded to x decimal places +#' with HALF_EVEN round mode, and returns the result as a string column. #' #' If x is 0, the result has no decimal point or fractional part. #' If x < 0, the result will be null. @@ -3548,7 +3548,7 @@ setMethod("row_number", #' array_contains #' -#' Returns true if the array contain the value. +#' Returns null if the array is null, true if the array contains the value, and false otherwise. #' #' @param x A Column #' @param value A value to be checked if contained in the column |