hvanhovell commented on code in PR #47688:
URL: https://github.com/apache/spark/pull/47688#discussion_r1719250373


##########
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:
   That is also a problem for all other functions in here.



##########
python/pyspark/sql/functions/builtin.py:
##########
@@ -18628,15 +18623,10 @@ def _create_lambda(f: Callable) -> Callable:
     parameters = _get_lambda_parameters(f)
 
     sc = _get_active_spark_context()
-    expressions = cast(JVMView, 
sc._jvm).org.apache.spark.sql.catalyst.expressions
+    internal = cast(JVMView, sc._jvm).org.apache.spark.sql.internal

Review Comment:
   Yeah removing it.



-- 
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]

Reply via email to