You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@carbondata.apache.org by "Venkata Ramana G (JIRA)" <ji...@apache.org> on 2016/08/16 15:28:20 UTC

[jira] [Updated] (CARBONDATA-138) Scale up value of Avg aggregation for decimal type keeping sync with hive

     [ 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)