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

Zheng Shao updated HIVE-861:
----------------------------

    Attachment: HIVE-861.1.patch

This patch fixes the problem and adds a test.

> NumberFormatException in sum and avg
> ------------------------------------
>
>                 Key: HIVE-861
>                 URL: https://issues.apache.org/jira/browse/HIVE-861
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>         Attachments: HIVE-861.1.patch
>
>
> {code}
> SELECT sum('a'), avg('a') FROM zshao_tt;
> {code}
> It should return NULL for both columns, instead of throwing out exceptions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to