HIVE-5276 : Skip redundant string encoding/decoding for hiveserver2 (Navis Reviewed by Carl Steinbach)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1551103 13f79535-47bb-0310-9956-ffa450edef68
HIVE-6022: Load statements with incorrect order of partitions put input files to unreadable places (Teruyoshi Zenmyo via Xuefu)

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