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

    https://github.com/apache/spark/pull/20348#discussion_r162857800
  
    --- Diff: python/pyspark/sql/udf.py ---
    @@ -213,6 +213,10 @@ def register(self, name, f, returnType=None):
             `returnType` can be optionally specified when `f` is a Python 
function but not
             when `f` is a user-defined function. Please see below.
     
    +        To register a non-deterministic Python function, users need to 
first build
    --- End diff --
    
    Shall we switch this paragraph with `` `returnType` can be optionally s ... 
``? I intended to explain `returnType` with case 1. and case 2. together.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to