You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2016/04/05 15:49:25 UTC

[jira] [Created] (HIVE-13423) Change the precison/scale for intermediate sum result for decimal datatype

Aihua Xu created HIVE-13423:
-------------------------------

             Summary: Change the precison/scale for intermediate sum result for decimal datatype
                 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, e.g., 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)