----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28791/ -----------------------------------------------------------
Review request for hive, Ashutosh Chauhan and Chao Sun. Bugs: HIVE-9025 https://issues.apache.org/jira/browse/HIVE-9025 Repository: hive Description ------- HIVE-5771 introduced a bug that when all partition columns are constants, the partition is transformed to be a random dispatch, which is not expected. This patch adds a constant column in the above case to avoid random partitioning. Diffs ----- http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ConstantPropagateProcFactory.java 1643530 http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/results/clientpositive/cluster.q.out 1643530 http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/results/clientpositive/constprog2.q.out 1643530 http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/results/clientpositive/join_nullsafe.q.out 1643530 http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/results/clientpositive/ppd2.q.out 1643530 http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/results/clientpositive/ppd_clusterby.q.out 1643530 http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/results/clientpositive/ppd_join4.q.out 1643530 http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/results/clientpositive/ppd_outer_join5.q.out 1643530 http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/results/clientpositive/quotedid_basic.q.out 1643530 http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/results/clientpositive/smb_mapjoin_25.q.out 1643530 http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/results/clientpositive/union27.q.out 1643530 Diff: https://reviews.apache.org/r/28791/diff/ Testing ------- TestCliDriver passed. Thanks, Ted Xu