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

    https://github.com/apache/spark/pull/19929#discussion_r158599004
  
    --- Diff: python/pyspark/sql/functions.py ---
    @@ -2075,9 +2075,10 @@ class PandasUDFType(object):
     def udf(f=None, returnType=StringType()):
         """Creates a user defined function (UDF).
     
    -    .. note:: The user-defined functions must be deterministic. Due to 
optimization,
    +    .. note:: The user-defined functions are considered deterministic. Due 
to optimization,
    --- End diff --
    
    `... are considered deterministic by default.`


---

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

Reply via email to