You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/06/03 20:49:00 UTC

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

    [ https://issues.apache.org/jira/browse/SPARK-31901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17125308#comment-17125308 ] 

Apache Spark commented on SPARK-31901:
--------------------------------------

User 'MaxGekk' has created a pull request for this issue:
https://github.com/apache/spark/pull/28709

> 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
>            Priority: Major
>
> 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