Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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.