Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/20137#discussion_r159550505
--- Diff: python/pyspark/sql/udf.py ---
@@ -172,5 +179,5 @@ def asNondeterministic(self):
.. versionadded:: 2.3
"""
- self._deterministic = False
+ self.deterministic = False
--- End diff --
`deterministic` is used in `UserDefinedFunction.scala`. Users can use it to
check whether this UDF is deterministic or not.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]