You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maxim Gekk (JIRA)" <ji...@apache.org> on 2019/02/16 22:37:00 UTC

[jira] [Created] (SPARK-26903) Remove the cache of TimeZones

Maxim Gekk created SPARK-26903:
----------------------------------

             Summary: Remove the cache of TimeZones
                 Key: SPARK-26903
                 URL: https://issues.apache.org/jira/browse/SPARK-26903
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: Maxim Gekk


The ZoneOffset class in JDK 8 caches zone offsets internally: http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/src/share/classes/java/time/ZoneOffset.java#l205 . No need to cache time zones in Spark. The ticket aims to remove computedTimeZones from DateTimeUtils.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org