Github user felixcheung commented on a diff in the pull request: https://github.com/apache/spark/pull/21255#discussion_r186624915 --- Diff: R/pkg/R/functions.R --- @@ -2043,34 +2033,6 @@ setMethod("countDistinct", column(jc) }) -#' @details -#' \code{concat}: Concatenates multiple input columns together into a single column. -#' If all inputs are binary, concat returns an output as binary. Otherwise, it returns as string. -#' -#' @rdname column_string_functions -#' @aliases concat concat,Column-method -#' @examples -#' -#' \dontrun{ -#' # concatenate strings -#' tmp <- mutate(df, s1 = concat(df$Class, df$Sex), -#' s2 = concat(df$Class, df$Sex, df$Age), -#' s3 = concat(df$Class, df$Sex, df$Age, df$Class), -#' s4 = concat_ws("_", df$Class, df$Sex), -#' s5 = concat_ws("+", df$Class, df$Sex, df$Age, df$Survived)) --- End diff -- also what happen to all other examples?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org