You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by pengcheng xiong <px...@hortonworks.com> on 2016/04/07 00:45:40 UTC

Review Request 45840: HIVE-13333: StatsOptimizer throws ClassCastException

-----------------------------------------------------------
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