aboutsummaryrefslogtreecommitdiff
path: root/R/pkg/R/generics.R
diff options
context:
space:
mode:
authorzero323 <zero323@users.noreply.github.com>2017-04-19 21:19:46 -0700
committerFelix Cheung <felixcheung@apache.org>2017-04-19 21:19:46 -0700
commit46c5749768fefd976097c7d5612ec184a4cfe1b9 (patch)
tree5e8ce2ee22d848cae449df228c50dfab61e85d34 /R/pkg/R/generics.R
parentbdc60569196e9ae4e9086c3e514a406a9e8b23a6 (diff)
downloadspark-46c5749768fefd976097c7d5612ec184a4cfe1b9.tar.gz
spark-46c5749768fefd976097c7d5612ec184a4cfe1b9.tar.bz2
spark-46c5749768fefd976097c7d5612ec184a4cfe1b9.zip
[SPARK-20375][R] R wrappers for array and map
## What changes were proposed in this pull request? Adds wrappers for `o.a.s.sql.functions.array` and `o.a.s.sql.functions.map` ## How was this patch tested? Unit tests, `check-cran.sh` Author: zero323 <zero323@users.noreply.github.com> Closes #17674 from zero323/SPARK-20375.
Diffstat (limited to 'R/pkg/R/generics.R')
-rw-r--r--R/pkg/R/generics.R8
1 files changed, 8 insertions, 0 deletions
diff --git a/R/pkg/R/generics.R b/R/pkg/R/generics.R
index 945676c7f1..da46823f52 100644
--- a/R/pkg/R/generics.R
+++ b/R/pkg/R/generics.R
@@ -942,6 +942,14 @@ setGeneric("countDistinct", function(x, ...) { standardGeneric("countDistinct")
#' @export
setGeneric("crc32", function(x) { standardGeneric("crc32") })
+#' @rdname create_array
+#' @export
+setGeneric("create_array", function(x, ...) { standardGeneric("create_array") })
+
+#' @rdname create_map
+#' @export
+setGeneric("create_map", function(x, ...) { standardGeneric("create_map") })
+
#' @rdname hash
#' @export
setGeneric("hash", function(x, ...) { standardGeneric("hash") })