zhengruifeng commented on code in PR #41534:
URL: https://github.com/apache/spark/pull/41534#discussion_r1230323486
##########
python/pyspark/sql/functions.py:
##########
@@ -11157,6 +11157,142 @@ def udf(
return _create_py_udf(f=f, returnType=returnType, useArrow=useArrow)
+# --------------- Conditional functions ------------------------
+
Review Comment:
@beliefer @panbingkun sorry, but I'd suggest we exclude `any` `if` for now:
we have `some/bool_or` to replace `any`, and `when/otherwise` to replace `if`.
let's add them in separate PRs later if we really need them
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]