Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-546

The timestamps are getting duplicated millis after ORC-306.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: Java
    • Labels:
      None

      Description

      The Hive's TimestampColumnVector has a bad design with millis from 1970 and nanos within the second. This is consistent with java.sql.Timestamp, but it causes the millis to overlap with the nanos.

      ORC-306 changed the behavior from:
      millis: xxxx000, nanos: 123456789

      to:
      millis: xxxx123, nanos: 123456789

      that means that addition of the millis & nanos doubles the contribution of the millis.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                omalley Owen O'Malley
                Reporter:
                omalley Owen O'Malley
              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 20m
                  20m