[ 
https://issues.apache.org/jira/browse/HIVE-2592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13154759#comment-13154759
 ] 

Phabricator commented on HIVE-2592:
-----------------------------------

jonchang has commented on the revision "HIVE-2592 [jira] ConstantOI doesn't 
always propagate to UDAF".

  Your wish is my command =).   This diff mainly gets most of semanticanalyzer 
and desc nodes using object inspectors.  This makes sure that all paths to plan 
generation preserve the exact type (and hence constantness).

  The next step to everything being copacetic will be updating the serializers.

REVISION DETAIL
  https://reviews.facebook.net/D513

                
> 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
>         Attachments: HIVE-2592.D513.1.patch
>
>
> 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

        

Reply via email to