----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/24575/ -----------------------------------------------------------
Review request for hive, Gunther Hagleitner and Harish Butani. Bugs: HIVE-7679 https://issues.apache.org/jira/browse/HIVE-7679 Repository: hive-git Description ------- JOIN operator does not update the column stats when the number of rows changes. All other operators scales up/down the column statistics when the number of rows changes. Same should be done for JOIN operator as well. Because of this dataSize might become negative as numNulls can get bigger than numRows (if scaling down of column stats is not done). Diffs ----- ql/src/java/org/apache/hadoop/hive/ql/optimizer/stats/annotation/StatsRulesProcFactory.java f4dffcd ql/src/test/results/clientpositive/annotate_stats_join.q.out fba3664 Diff: https://reviews.apache.org/r/24575/diff/ Testing ------- Thanks, Prasanth_J