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)

Reply via email to