[
https://issues.apache.org/jira/browse/HIVE-13423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aihua Xu updated HIVE-13423:
----------------------------
Description:
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.
was:
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.
> Change the precison/scale for intermediate sum result for decimal datatype in
> GroupBy operator
> ----------------------------------------------------------------------------------------------
>
> 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)