HyukjinKwon commented on code in PR #52980:
URL: https://github.com/apache/spark/pull/52980#discussion_r2515941344
##########
core/src/main/scala/org/apache/spark/api/python/PythonRunner.scala:
##########
@@ -279,6 +280,9 @@ private[spark] abstract class BasePythonRunner[IN, OUT](
if (simplifiedTraceback) {
envVars.put("SPARK_SIMPLIFIED_TRACEBACK", "1")
}
+ if (sessionLocalTimeZone.isDefined) {
+ envVars.put("TZ", sessionLocalTimeZone.get)
Review Comment:
Nah, let's don't mix local timezone with the system timezone. Both can be
different. Session timezone should only be applied when operating time-related
operations within Spark.
--
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]