[ 
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
{noformat}

is not supported by hive but is on postgres.

  was:
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
> {noformat}
> is not supported by hive but is on postgres.

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

Reply via email to