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

    https://github.com/apache/spark/pull/22226#discussion_r214157102
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala ---
    @@ -3493,11 +3493,11 @@ object functions {
       def schema_of_json(e: Column): Column = withExpr(new 
SchemaOfJson(e.expr))
     
       /**
    -   * (Scala-specific) Converts a column containing a `StructType`, 
`ArrayType` of `StructType`s,
    -   * a `MapType` or `ArrayType` of `MapType`s into a JSON string with the 
specified schema.
    +   * (Scala-specific) Converts a column containing a `StructType`, 
`ArrayType` or
    +   * a `MapType` into a JSON string with the specified schema.
        * Throws an exception, in the case of an unsupported type.
        *
    -   * @param e a column containing a struct or array of the structs.
    +   * @param e a column containing a struct, a array or a map.
    --- End diff --
    
    typo: `a array` -> `an array`


---

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

Reply via email to