Github user jiangxb1987 commented on a diff in the pull request:
https://github.com/apache/spark/pull/19640#discussion_r149365816
--- Diff: core/src/main/scala/org/apache/spark/util/Utils.scala ---
@@ -2742,6 +2742,11 @@ private[spark] object Utils extends Logging {
}
}
+ def getTimeZone: TimeZone = {
+ val sparkConf = new SparkConf(false).loadFromSystemProperties(true)
--- End diff --
Can we make SparkConf as a input param instead of create a new instance for
every function call?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]