hvanhovell commented on code in PR #47785:
URL: https://github.com/apache/spark/pull/47785#discussion_r1720505473
##########
python/pyspark/sql/udf.py:
##########
@@ -449,11 +445,10 @@ def func(*args: Any, **kwargs: Any) -> Any:
return profiler.profile(f, *args, **kwargs)
func.__signature__ = inspect.signature(f) # type:
ignore[attr-defined]
+ resultId = sc._jvm.PythonSQLUtils.nextExprId()
Review Comment:
We can make this diff a bit smaller if we want to. We can still use the old
method, as long as we can get rid of expr()...
--
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]