HIVE-7482: The execution side changes for SMB join in hive-tez (Vikram Dixit K via Gunther Hagleitner)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1627235 13f79535-47bb-0310-9956-ffa450edef68
HIVE-8227: NPE w/ hive on tez when doing unions on empty tables (Gunther Hagleitner, reviewed by Vikram Dixit K)

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