[ https://issues.apache.org/jira/browse/HIVE-13333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pengcheng Xiong updated HIVE-13333: ----------------------------------- Fix Version/s: 2.1.0 > StatsOptimizer throws ClassCastException > ---------------------------------------- > > Key: HIVE-13333 > URL: https://issues.apache.org/jira/browse/HIVE-13333 > Project: Hive > Issue Type: Bug > Components: Logical Optimizer > Affects Versions: 2.0.0 > Reporter: Ashutosh Chauhan > Assignee: Pengcheng Xiong > Fix For: 2.1.0 > > Attachments: HIVE-13333.01.patch, HIVE-13333.02.patch, > HIVE-13333.03.patch > > > mvn test -Dtest=TestCliDriver -Dtest.output.overwrite=true > -Dqfile=cbo_rp_udf_udaf.q -Dhive.compute.query.using.stats=true repros the > issue. > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)