Github user mgaido91 commented on a diff in the pull request:
https://github.com/apache/spark/pull/19929#discussion_r158579754
--- Diff: python/pyspark/sql/functions.py ---
@@ -2075,9 +2075,10 @@ class PandasUDFType(object):
def udf(f=None, returnType=StringType()):
--- End diff --
I followed what was done for scala UDF, where this parameter is not added,
but there is a method to add it. If we add a parameter here, I'd then suggest
to add it also to the scala API.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]