Github user huaxingao commented on a diff in the pull request:
https://github.com/apache/spark/pull/21255#discussion_r186630904
--- Diff: R/pkg/R/functions.R ---
@@ -1253,19 +1256,6 @@ setMethod("quarter",
column(jc)
})
-#' @details
-#' \code{reverse}: Reverses the string column and returns it as a new
string column.
-#'
-#' @rdname column_string_functions
-#' @aliases reverse reverse,Column-method
-#' @note reverse since 1.5.0
-setMethod("reverse",
- signature(x = "Column"),
- function(x) {
- jc <- callJStatic("org.apache.spark.sql.functions", "reverse",
x@jc)
- column(jc)
- })
-
--- End diff --
@felixcheung Thanks for your comment. The reason I moved reverse and concat
around is that I want to put them under line 2943 for Collection functions.
###################### Collection functions######################
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]