cloud-fan commented on code in PR #53161:
URL: https://github.com/apache/spark/pull/53161#discussion_r2556420675
##########
core/src/main/scala/org/apache/spark/api/python/PythonRunner.scala:
##########
@@ -282,6 +283,9 @@ private[spark] abstract class BasePythonRunner[IN, OUT](
if (simplifiedTraceback) {
envVars.put("SPARK_SIMPLIFIED_TRACEBACK", "1")
}
+ if (sessionLocalTimeZone.isDefined) {
+ envVars.put("SPARK_SESSION_LOCAL_TIMEZONE", sessionLocalTimeZone.get)
Review Comment:
yea it's better to pass the configs via a proper protocol, instead of system
variables. But it's already the case for vanilla python runner and I think it's
fine to follow 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]