HIVE-8728: Fix ptf.q determinism (Jimmy via Xuefu)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1636885 13f79535-47bb-0310-9956-ffa450edef68
HIVE-8718: Refactoring: move mapLocalWork field from MapWork to BaseWork (Reviewed by Szehon)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1636888 13f79535-47bb-0310-9956-ffa450edef68
HIVE-8736 : add ordering to cbo_correctness to make result consistent (Sergey Shelukhin, reviewed by Laljo John Pullokkaran)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1636918 13f79535-47bb-0310-9956-ffa450edef68
HIVE-8733: HiveServer2 dynamic service discovery not picking correct IP address when hive.server2.thrift.bind.host is not set (Vaibhav Gumashta reviewed by Thejas Nair)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1636919 13f79535-47bb-0310-9956-ffa450edef68
HIVE-8727: Dag summary has incorrect row counts and duration per vertex (Mostafa Mokhtar reviewed by Prasanth J)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1636931 13f79535-47bb-0310-9956-ffa450edef68
HIVE-8708 - Add query id to explain log option (Mohit Sabharwal via Brock)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1636992 13f79535-47bb-0310-9956-ffa450edef68
HIVE-7111 : Extend join transitivity PPD to non-column expressions (Navis via Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1636995 13f79535-47bb-0310-9956-ffa450edef68
HIVE-8724: Right outer join produces incorrect result on Tez (Gunther Hagleitner, reviewed by Harish Butani and Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1636999 13f79535-47bb-0310-9956-ffa450edef68
HIVE-8716: Partition filters are not pushed down with lateral view (Prasanth J via Gunther Hagleitner)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1637009 13f79535-47bb-0310-9956-ffa450edef68
HIVE-8740: Sorted dynamic partition does not work correctly with constant folding (Prasanth J reviewed by Gunther Hagleitner)

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