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 2020/06/03 20:47:00 UTC

[jira] [Created] (SPARK-31901) Legacy date formatters don't use specified time zone

Maxim Gekk created SPARK-31901:
----------------------------------

             Summary: Legacy date formatters don't use specified time zone
                 Key: SPARK-31901
                 URL: https://issues.apache.org/jira/browse/SPARK-31901
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.0.0, 3.1.0
            Reporter: Maxim Gekk


The legacy date formatters LegacyFastDateFormatter and LegacySimpleDateFormatter create FastDateFormat and SimpleDateFormat w/o specified zoneId via DateFormatter.getLegacyFormatter. It means the formatters use the default system JVM time zone and don't respect Spark's session time zone. The ticket aims to support provided time zone id.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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