orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (Jira)" <j...@apache.org>
Subject [jira] [Created] (ORC-546) The timestamps are getting duplicated millis after ORC-306.
Date Thu, 22 Aug 2019 20:10:00 GMT
Owen O'Malley created ORC-546:
---------------------------------

             Summary: The timestamps are getting duplicated millis after ORC-306.
                 Key: ORC-546
                 URL: https://issues.apache.org/jira/browse/ORC-546
             Project: ORC
          Issue Type: Bug
          Components: Java
            Reporter: Owen O'Malley
            Assignee: Owen O'Malley


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.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message