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)