spark-instrumented-optimizer/R/pkg
Marek Novotny 75cf369c74 [SPARK-24197][SPARKR][SQL] Adding array_sort function to SparkR
## What changes were proposed in this pull request?

The PR adds array_sort function to SparkR.

## How was this patch tested?

Tests added into R/pkg/tests/fulltests/test_sparkSQL.R

## Example
```
> df <- createDataFrame(list(list(list(2L, 1L, 3L, NA)), list(list(NA, 6L, 5L, NA, 4L))))
> head(collect(select(df, array_sort(df[[1]]))))
```
Result:
```
   array_sort(_1)
1     1, 2, 3, NA
2 4, 5, 6, NA, NA
```

Author: Marek Novotny <mn.mikke@gmail.com>

Closes #21294 from mn-mikke/SPARK-24197.
2018-05-11 09:05:35 +08:00
..
inst [SPARKR] Match pyspark features in SparkR communication protocol. 2018-05-09 10:47:35 -07:00
R [SPARK-24197][SPARKR][SQL] Adding array_sort function to SparkR 2018-05-11 09:05:35 +08:00
src-native [SPARK-6811] Copy SparkR lib in make-distribution.sh 2015-05-23 00:04:01 -07:00
tests [SPARK-24197][SPARKR][SQL] Adding array_sort function to SparkR 2018-05-11 09:05:35 +08:00
vignettes [SPARKR][DOC] fix link in vignettes 2018-03-02 09:23:39 -08:00
.lintr [SPARK-22063][R] Fixes lint check failures in R by latest commit sha1 ID of lint-r 2017-10-01 18:42:45 +09:00
.Rbuildignore [SPARK-20877][SPARKR][FOLLOWUP] clean up after test move 2017-06-11 03:00:44 -07:00
DESCRIPTION [SPARK-23028] Bump master branch version to 2.4.0-SNAPSHOT 2018-01-13 00:37:59 +08:00
NAMESPACE [SPARK-24197][SPARKR][SQL] Adding array_sort function to SparkR 2018-05-11 09:05:35 +08:00