Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-24074

Incorrect handling of timestamp in Parquet/Avro when written in certain time zones in versions before Hive 3.x

    XMLWordPrintableJSON

Details

    Description

      The timezone conversion for Parquet and Avro uses new java.time.* classes, which can lead to incorrect values returned for certain dates in certain timezones if timestamp was computed and converted based on java.sql.* classes. For instance, the offset used for Singapore timezone in 1900-01-01T00:00:00.000 is UTC+8, while the correct offset for that date should be UTC+6:55:25. Some additional information can be found here: https://stackoverflow.com/a/52152315

      Attachments

        Issue Links

          Activity

            People

              jcamacho Jesús Camacho Rodríguez
              jcamacho Jesús Camacho Rodríguez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m