You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Brock Noland (JIRA)" <ji...@apache.org> on 2013/03/05 23:50:15 UTC

[jira] [Updated] (HIVE-4128) Support avg(decimal)

     [ https://issues.apache.org/jira/browse/HIVE-4128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brock Noland updated HIVE-4128:
-------------------------------

    Description: 
Currently the following query:

{noformat}
hive> select p_mfgr, avg(p_retailprice) from part group by p_mfgr;
FAILED: UDFArgumentTypeException Only numeric or string type arguments are accepted but decimal is passed
    
> Support avg(decimal)
> --------------------
>
>                 Key: HIVE-4128
>                 URL: https://issues.apache.org/jira/browse/HIVE-4128
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Brock Noland
>            Assignee: Brock Noland
>            Priority: Minor
>
> Currently the following query:
> {noformat}
> hive> select p_mfgr, avg(p_retailprice) from part group by p_mfgr;
> FAILED: UDFArgumentTypeException Only numeric or string type arguments are accepted but decimal is passed

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