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

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1595302 13f79535-47bb-0310-9956-ffa450edef68