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

    https://github.com/apache/spark/pull/23184#discussion_r238056921
  
    --- Diff: R/pkg/R/functions.R ---
    @@ -202,8 +202,9 @@ NULL
     #'          \itemize{
     #'          \item \code{from_json}: a structType object to use as the 
schema to use
     #'              when parsing the JSON string. Since Spark 2.3, the 
DDL-formatted string is
    -#'              also supported for the schema.
    -#'          \item \code{from_csv}: a DDL-formatted string
    +#'              also supported for the schema. Since Spark 3.0, 
\code{schema_of_json} or
    +#'              a string literal can also be accepted.
    --- End diff --
    
    Basically yea same. The only difference is it allows takes a string literal 
(not only string). Let me try to clarify it.


---

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

Reply via email to