You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sumeet Varma (Jira)" <ji...@apache.org> on 2024/07/31 01:20:00 UTC

[jira] [Created] (SPARK-49065) Rebasing in legacy formatters/parsers must support non JVM default time zones

Sumeet Varma created SPARK-49065:
------------------------------------

             Summary: Rebasing in legacy formatters/parsers must support non JVM default time zones
                 Key: SPARK-49065
                 URL: https://issues.apache.org/jira/browse/SPARK-49065
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.5.1, 3.5.0, 4.0.0
            Reporter: Sumeet Varma


Currently, rebasing timestamp defaults to JVM timezone and so it produces incorrect results when the explicitly over-riden timezone in the TimestampFormatter library is not the same as JVM timezone.



To fix it, explicitly pass the overridden timezone parameter to {{rebaseJulianToGregorianMicros}} and {{rebaseGregorianToJulianMicros}}

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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