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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to