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

    https://github.com/apache/spark/pull/22226#discussion_r214243115
  
    --- Diff: R/pkg/R/functions.R ---
    @@ -1697,8 +1697,8 @@ setMethod("to_date",
               })
     
     #' @details
    -#' \code{to_json}: Converts a column containing a \code{structType}, array 
of \code{structType},
    -#' a \code{mapType} or array of \code{mapType} into a Column of JSON 
string.
    +#' \code{to_json}: Converts a column containing a \code{structType}, a 
\code{mapType}
    +#' or an array into a Column of JSON string.
    --- End diff --
    
    it should
    could we add some tests for this in R?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to