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

    https://github.com/apache/spark/pull/22939#discussion_r230649513
  
    --- Diff: R/pkg/R/functions.R ---
    @@ -205,11 +205,18 @@ NULL
     #'              also supported for the schema.
     #'          \item \code{from_csv}: a DDL-formatted string
     #'          }
    -#' @param ... additional argument(s). In \code{to_json}, \code{to_csv} and 
\code{from_json},
    -#'            this contains additional named properties to control how it 
is converted, accepts
    -#'            the same options as the JSON/CSV data source. Additionally 
\code{to_json} supports
    -#'            the "pretty" option which enables pretty JSON generation. In 
\code{arrays_zip},
    -#'            this contains additional Columns of arrays to be merged.
    +#' @param ... additional argument(s).
    +#'          \itemize{
    +#'          \item \code{to_json}, \code{from_json} and 
\code{schema_of_json}: this contains
    +#'              additional named properties to control how it is converted 
and accepts the
    +#'              same options as the JSON data source.
    +#'          \item \code{to_json}: it supports the "pretty" option which 
enables pretty
    --- End diff --
    
    actually, how does `pretty` work? is it `pretty = TRUE`?


---

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

Reply via email to