Github user huaxingao commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21313#discussion_r187814160
  
    --- Diff: R/pkg/R/functions.R ---
    @@ -3006,6 +3008,28 @@ setMethod("array_contains",
                 column(jc)
               })
     
    +#' @details
    +#' \code{array_join}: Concatenates the elements of column using the 
delimiter.
    +#' Null values are replaced with null_replacement if set, otherwise they 
are ignored.
    +#'
    +#' @param delimiter character(s) to use to concatenate the elements of 
column.
    +#' @param null_replacement character(s) to use to replace the Null values.
    +#' @rdname column_collection_functions
    +#' @aliases array_join array_join,Column-method
    +#' @note array_join since 2.4.0
    +setMethod("array_join",
    +         signature(x = "Column"),
    +         function(x, delimiter, null_replacement = NA) {
    --- End diff --
    
    @felixcheung Python uses null_replacement but Scala uses nullReplacement. I 
will change to nullReplacement. 


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to