Github user viirya commented on a diff in the pull request: https://github.com/apache/spark/pull/18875#discussion_r132614002 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala --- @@ -3090,9 +3090,9 @@ object functions { } /** - * (Scala-specific) Converts a column containing a `StructType` or `ArrayType` of `StructType`s - * into a JSON string with the specified schema. Throws an exception, in the case of an - * unsupported type. + * (Scala-specific) Converts a column containing a `StructType`, `ArrayType` of `StructType`s + * or a `MapType` with a `StructType` Value into a JSON string with the specified schema. --- End diff -- nit: Value -> value.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org