Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/19223#discussion_r138852676 --- Diff: python/pyspark/sql/functions.py --- @@ -1921,10 +1921,12 @@ def from_json(col, schema, options={}): @since(2.1) def to_json(col, options={}): """ - Converts a column containing a [[StructType]] or [[ArrayType]] of [[StructType]]s into a - JSON string. Throws an exception, in the case of an unsupported type. + Converts a column containing a :class:`StructType`, :class:`ArrayType` of :class:`StructType`s, --- End diff -- I believe `` :class:`StructType`s `` should be ``:class:`StructType`\\s``. Currently, this is rendered as below: <img width="215" alt="2017-09-14 7 12 52" src="https://user-images.githubusercontent.com/6477701/30424466-05e7532a-9981-11e7-8b37-d83268495cc0.png">
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org