HyukjinKwon commented on code in PR #47688:
URL: https://github.com/apache/spark/pull/47688#discussion_r1719249740
##########
python/pyspark/sql/functions/builtin.py:
##########
@@ -18787,7 +18771,7 @@ def exists(col: "ColumnOrName", f: Callable[[Column],
Column]) -> Column:
| true|
+------------+
"""
- return _invoke_higher_order_function("ArrayExists", [col], [f])
+ return _invoke_higher_order_function("exists", [col], [f])
Review Comment:
Probably I am overthinking but just for the sake of review, this will now
call whatever `exists` is registered as, e.g., users could replace the existing
function via `spark.register`.
--
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]