zhengruifeng commented on code in PR #52980:
URL: https://github.com/apache/spark/pull/52980#discussion_r2525915707


##########
python/pyspark/worker.py:
##########
@@ -3307,6 +3309,13 @@ def main(infile, outfile):
         if tracebackDumpIntervalSeconds is not None and 
int(tracebackDumpIntervalSeconds) > 0:
             
faulthandler.dump_traceback_later(int(tracebackDumpIntervalSeconds), 
repeat=True)
 
+        tzname = os.environ.get("SPARK_SESSION_LOCAL_TIMEZONE", None)

Review Comment:
   if this PR only affect vanilla python udf, can we move this part into 
`wrap_udf` method?



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