Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20900#discussion_r176930776
  
    --- Diff: python/pyspark/sql/functions.py ---
    @@ -2155,6 +2155,8 @@ def udf(f=None, returnType=StringType()):
             in boolean expressions and it ends up with being executed all 
internally. If the functions
             can fail on special rows, the workaround is to incorporate the 
condition into the functions.
     
    +    .. note:: The user-defined functions do not take keyword arguments.
    --- End diff --
    
    Let's add `on the calling side` (I meant not on function declaration side) 
at the end for clarification.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to