Github user icexelloss commented on a diff in the pull request:
https://github.com/apache/spark/pull/21082#discussion_r190633480
--- Diff: python/pyspark/sql/functions.py ---
@@ -2301,10 +2301,12 @@ def pandas_udf(f=None, returnType=None,
functionType=None):
The returned scalar can be either a python primitive type, e.g.,
`int` or `float`
or a numpy data type, e.g., `numpy.int64` or `numpy.float64`.
- :class:`ArrayType`, :class:`MapType` and :class:`StructType` are
currently not supported as
- output types.
+ :class:`MapType` and :class:`StructType` are currently not
supported as output types.
--- End diff --
Track in: https://issues.apache.org/jira/browse/SPARK-23633
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]