[ https://issues.apache.org/jira/browse/HIVE-2592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13153644#comment-13153644 ]
Jonathan Chang commented on HIVE-2592: -------------------------------------- @jvs, I have a rather large diff that goes some of the way towards fixing the issue, but it will take a few more large diffs before this one is knocked down completely. Would you be amenable to reviewing/committing one of them? > ConstantOI doesn't always propagate to UDAF > ------------------------------------------- > > Key: HIVE-2592 > URL: https://issues.apache.org/jira/browse/HIVE-2592 > Project: Hive > Issue Type: Bug > Reporter: Jonathan Chang > Assignee: Jonathan Chang > > Depending on the query plan, a UDAF may not actually get a constant OI. E.g., > set hive.map.aggr=false; > SELECT percentile_approx(cast(substr(src.value,5) AS double), 0.5) FROM src; -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira