HIVE-7067: Min() and Max() on Timestamp and Date columns for ORC returns wrong results (Prasanth J, reviewed by Jason Dere)