Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/19929#discussion_r158594837
--- Diff: python/pyspark/sql/functions.py ---
@@ -2075,9 +2075,10 @@ class PandasUDFType(object):
def udf(f=None, returnType=StringType()):
--- End diff --
Scala and Python are different, because that is also for JAVA API.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]