Description
ORC timestamp writer stores the number of trailing zeros in 3 LSB bits. There is a bug in parsing nanosecond logic that returns incorrect value.
Input:
1999-01-01 00:00:00.999999999
Output:
1999-01-01 00:00:00.463129087
The fix for this is parseNanos() should first right shift by 3 and then typecast to int.
Attachments
Attachments
Issue Links
- links to