You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@carbondata.apache.org by "Gin-zhj (JIRA)" <ji...@apache.org> on 2016/07/13 08:43:20 UTC

[jira] [Updated] (CARBONDATA-52) query average value of bigInt filed, the query result is inaccurate

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

Gin-zhj updated CARBONDATA-52:
------------------------------
    Description: 
when query  average value of bigInt filed "column1", 
if the value of "sum(column1)/count(column1)" is double type with decimal,
the result of avg(column1) is inaccurate, it lost precision.

  was:
when query  average value of bigInt filed "x", 
if the value of "sum(x)/count(x)" is double type with decimal,
the result of avg(x) is inaccurate, it lost precision.


> query  average value of bigInt filed, the query result is inaccurate
> --------------------------------------------------------------------
>
>                 Key: CARBONDATA-52
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-52
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Gin-zhj
>            Assignee: Gin-zhj
>            Priority: Minor
>
> when query  average value of bigInt filed "column1", 
> if the value of "sum(column1)/count(column1)" is double type with decimal,
> the result of avg(column1) is inaccurate, it lost precision.



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