Spenserrrr commented on code in PR #59246:
URL: https://github.com/apache/spark/pull/59246#discussion_r4252026827
##########
python/pyspark/worker.py:
##########
@@ -4060,10 +4129,14 @@ def invoke_udf(message_receiver: SparkMessageReceiver,
outfile: BinaryIO):
PythonEvalType.SQL_ARROW_TABLE_UDF,
PythonEvalType.SQL_ARROW_UDTF,
)
- read = read_udtf if is_udtf else read_udfs
- func, serializer = read(
- pickleSer, init_info.udf_info, eval_type, runner_conf,
eval_conf
- )
+ if is_udtf:
+ func, serializer = read_udtf(
+ pickleSer, init_info.udf_info, eval_type, runner_conf,
eval_conf
+ )
Review Comment:
The old handler setter path is gone. UDF and UDTF use the worker-level task
report path; detailed phase timers remain scoped to modern Arrow scalar UDFs.
Resolving this older thread.
--
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]