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:25:21 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15422886#comment-15422886 ]
Venkata Ramana G commented on CARBONDATA-138:
---------------------------------------------
Merged
https://github.com/HuaweiBigData/carbondata/pull/900
> 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
> 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)