[
https://issues.apache.org/jira/browse/ORC-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Douglas Drinka updated ORC-163:
-------------------------------
Component/s: (was: tools)
(was: Java)
documentation
> Timestamp problems in java tools
> --------------------------------
>
> Key: ORC-163
> URL: https://issues.apache.org/jira/browse/ORC-163
> Project: ORC
> Issue Type: Bug
> Components: documentation
> Reporter: Douglas Drinka
>
> I'll keep digging in the source as to what's happening here, but something is
> wrong with nanoseconds in java.
> Take a timestamp `03/16/2017 12:03:31.4319875+00`.
> That's 69552211 seconds and 431987500 nanoseconds, which is serialized as
> 34559002.
> C++ orc-contents prints it as ` "Timestamp": "2017-03-16 00:03:31.4319875"`
> Java "orc-tools data" prints it as `"Timestamp":"2017-03-16
> 00:03:31.024907704"` and then crashes after a few rows.
> Additionally, "orc-tools meta" is giving me dates in the 1970s for the
> statistics.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)