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

    https://github.com/apache/spark/pull/19929#discussion_r158571355
  
    --- Diff: python/pyspark/sql/udf.py ---
    @@ -157,5 +158,13 @@ def wrapper(*args):
             wrapper.func = self.func
             wrapper.returnType = self.returnType
             wrapper.evalType = self.evalType
    +        wrapper.asNondeterministic = self.asNondeterministic
     
             return wrapper
    +
    +    def asNondeterministic(self):
    +        """
    +        Updates UserDefinedFunction to nondeterministic.
    --- End diff --
    
    ```
            """
            Updates UserDefinedFunction to nondeterministic.
    
            .. versionadded:: 2.3
            """
    ```


---

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

Reply via email to