You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2016/10/14 21:10:21 UTC

[jira] [Updated] (HIVE-13423) Handle the overflow case for decimal datatype for sum()

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

Aihua Xu updated HIVE-13423:
----------------------------
    Summary: Handle the overflow case for decimal datatype for sum()  (was: Change the precison/scale for intermediate sum result for decimal datatype in GroupBy operator)

> Handle the overflow case for decimal datatype for sum()
> -------------------------------------------------------
>
>                 Key: HIVE-13423
>                 URL: https://issues.apache.org/jira/browse/HIVE-13423
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 2.0.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>
> When we handle sum over decimal datatype in a groupby statement, it will possibly yield overflow if we use original data type. 
> We need to change precision/scale for sum() result or give an error/warning if such change is not possible.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)