HIVE-3990 : Provide input threshold for direct-fetcher (Navis via Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1540436 13f79535-47bb-0310-9956-ffa450edef68
HIVE-5286: Negative test date_literal1.q fails on java7 because the syntax is valid (Szehon via Xuefu)

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