Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/19929#discussion_r158631070
--- Diff: python/pyspark/sql/functions.py ---
@@ -2075,9 +2075,10 @@ class PandasUDFType(object):
def udf(f=None, returnType=StringType()):
--- End diff --
Using `asNondeterministic ` is not straightforward to users. In Scala
sides, we have no choice for avoiding breaking the API. Anyway, I am fine to
keep it as now
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]