HIVE-4302 : Fix how RowSchema and RowResolver are set on ReduceSinkOp that precedes PTFOp (Harish Butani via Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1465408 13f79535-47bb-0310-9956-ffa450edef68
HIVE-3908 : create view statement's outputs contains the view and a temporary dir. (Prasad Mujumdar via Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1465412 13f79535-47bb-0310-9956-ffa450edef68
HIVE-3992 : Hive RCFile::sync(long) does a sub-sequence linear search for sync blocks (Gopal V via Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1465536 13f79535-47bb-0310-9956-ffa450edef68
HIVE-2340 : optimize orderby followed by a groupby (Navis via Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1465721 13f79535-47bb-0310-9956-ffa450edef68
Merge remote-tracking branch 'hive/trunk' into ptf