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

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

     [ https://issues.apache.org/jira/browse/ORC-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen O'Malley updated ORC-546:
------------------------------
    Fix Version/s:     (was: 1.5.7)
                       (was: 1.4.5)

> 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
>            Priority: Major
>             Fix For: 1.6.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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.4#803005)