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

Venkata Ramana G updated CARBONDATA-138:
----------------------------------------
    Assignee: Gin-zhj

> Scale up value of Avg aggregation for decimal type keeping sync with hive
> -------------------------------------------------------------------------
>
>                 Key: CARBONDATA-138
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-138
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Venkata Ramana G
>            Assignee: Gin-zhj
>            Priority: Minor
>
> when we do avg aggregation for decimal type:
> hive wiil update the precision of the avg result. 
> e.g: Avg(decimal(30,10)), the result will be cast to decimal(34, 14)
> so, carbon should keep the sync with hive, also need to improve the precision
> by scaling up.



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

Reply via email to