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

    https://github.com/apache/spark/pull/22939#discussion_r230649120
  
    --- Diff: R/pkg/R/functions.R ---
    @@ -2230,6 +2237,32 @@ setMethod("from_json", signature(x = "Column", 
schema = "characterOrstructType")
                 column(jc)
               })
     
    +#' @details
    +#' \code{schema_of_json}: Parses a JSON string and infers its schema in 
DDL format.
    +#'
    +#' @rdname column_collection_functions
    +#' @aliases schema_of_json schema_of_json,characterOrColumn-method
    +#' @examples
    +#'
    +#' \dontrun{
    +#' json <- '{"name":"Bob"}'
    --- End diff --
    
    I think we should avoid mixing `'` and `"` in doc


---

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

Reply via email to