Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-49065

Rebasing in legacy formatters/parsers must support non JVM default time zones

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0, 4.0.0, 3.5.1
    • 4.0.0, 3.5.2
    • SQL

    Description

      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

       

      Attachments

        Issue Links

          Activity

            People

              sumeet-db Sumeet Varma
              sumeet-db Sumeet Varma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: