You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@orc.apache.org by "Owen O'Malley (Jira)" <ji...@apache.org> on 2019/08/22 20:10:00 UTC

[jira] [Created] (ORC-546) The timestamps are getting duplicated millis after ORC-306.

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)