aboutsummaryrefslogtreecommitdiff
path: root/R/pkg/inst/tests
diff options
context:
space:
mode:
authorfelixcheung <felixcheung_m@hotmail.com>2015-12-05 16:00:12 -0800
committerShivaram Venkataraman <shivaram@cs.berkeley.edu>2015-12-05 16:00:12 -0800
commit895b6c474735d7e0a38283f92292daa5c35875ee (patch)
treed25c9ea5c4ab25cb1a2f92bd21ccb3d311b82619 /R/pkg/inst/tests
parentc8d0e160dadf3b23c5caa379ba9ad5547794eaa0 (diff)
downloadspark-895b6c474735d7e0a38283f92292daa5c35875ee.tar.gz
spark-895b6c474735d7e0a38283f92292daa5c35875ee.tar.bz2
spark-895b6c474735d7e0a38283f92292daa5c35875ee.zip
[SPARK-11715][SPARKR] Add R support corr for Column Aggregration
Need to match existing method signature Author: felixcheung <felixcheung_m@hotmail.com> Closes #9680 from felixcheung/rcorr.
Diffstat (limited to 'R/pkg/inst/tests')
-rw-r--r--R/pkg/inst/tests/test_sparkSQL.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/pkg/inst/tests/test_sparkSQL.R b/R/pkg/inst/tests/test_sparkSQL.R
index 2d26b92ac7..a5a234a02d 100644
--- a/R/pkg/inst/tests/test_sparkSQL.R
+++ b/R/pkg/inst/tests/test_sparkSQL.R
@@ -892,7 +892,7 @@ test_that("column functions", {
c11 <- to_date(c) + trim(c) + unbase64(c) + unhex(c) + upper(c)
c12 <- variance(c)
c13 <- lead("col", 1) + lead(c, 1) + lag("col", 1) + lag(c, 1)
- c14 <- cume_dist() + ntile(1)
+ c14 <- cume_dist() + ntile(1) + corr(c, c1)
c15 <- dense_rank() + percent_rank() + rank() + row_number()
# Test if base::rank() is exposed