You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2013/06/30 08:13:20 UTC

[jira] [Commented] (HIVE-4692) Constant agg parameters will be replaced by ExprNodeColumnDesc with single-sourced multi-gby cases

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

Ashutosh Chauhan commented on HIVE-4692:
----------------------------------------

+1
                
> Constant agg parameters will be replaced by ExprNodeColumnDesc with single-sourced multi-gby cases
> --------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-4692
>                 URL: https://issues.apache.org/jira/browse/HIVE-4692
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Minor
>         Attachments: HIVE-4692.D11169.1.patch
>
>
> HIVE-3495 fixed this for single gbys but not for multi-gbys. For example,
>  
> {noformat}
> FROM (select key, cast(key as double) as value from src order by key) a
> INSERT OVERWRITE TABLE e1
>     SELECT COUNT(*)
> INSERT OVERWRITE TABLE e2
>     SELECT percentile_approx(value, 0.5);
> FAILED: UDFArgumentTypeException The second argument must be a constant, but double was passed instead.
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira