----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45840/ -----------------------------------------------------------
Review request for hive and Ashutosh Chauhan. Repository: hive-git Description ------- In StatsOptimizer with return path on, we may have aggr($f0), aggr($f1) in GBY and then select aggr($f1), aggr($f0) in SEL. Thus we need to use colExp to find out which position is corresponding to which position. Diffs ----- ql/src/java/org/apache/hadoop/hive/ql/optimizer/StatsOptimizer.java bc17fec ql/src/test/queries/clientpositive/cbo_rp_udf_udaf_stats_opt.q PRE-CREATION ql/src/test/results/clientpositive/cbo_rp_udf_udaf_stats_opt.q.out PRE-CREATION Diff: https://reviews.apache.org/r/45840/diff/ Testing ------- Thanks, pengcheng xiong