Github user ueshin commented on a diff in the pull request:
https://github.com/apache/spark/pull/19505#discussion_r144768652
--- Diff: python/pyspark/sql/functions.py ---
@@ -2044,7 +2044,7 @@ class UserDefinedFunction(object):
.. versionadded:: 1.3
"""
- def __init__(self, func, returnType, name=None, vectorized=False):
+ def __init__(self, func, returnType, name=None, vectorized=False,
grouped=False):
--- End diff --
Sounds good. I'll modify it.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]