Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
vectorization-branch
-
None
-
Fix ORC TestVectorizedORCReader for Timestamps containing sub-second timings
Description
ORC vectorized tests were not testing for timestamps correctly.
java.sql.Timestamp is a confusing API, because of the mix of getTime() & getNanos() usage. Though it might look like they return independent values, getTime() includes part of the value already present in getNanos().
Please view the implementation code for the confusion
Fix in HIVE-4681 caused test-failures, which needs the test to be fixed.