HIVE-7990: With fetch column stats disabled number of elements in grouping set is not taken into account (Prasanth J reviewed by Gunther Hagleitner)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1623185 13f79535-47bb-0310-9956-ffa450edef68
HIVE-7991: Incorrect calculation of number of rows in JoinStatsRule.process results in overflow (Prasanth J reviewed by Gunther Hagleitner)

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