You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Krystal (JIRA)" <ji...@apache.org> on 2017/02/16 16:59:41 UTC
[jira] [Closed] (DRILL-681) Drill returns big int result not
matching expected result
[ https://issues.apache.org/jira/browse/DRILL-681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Krystal closed DRILL-681.
-------------------------
Close bug as invalid. This is not an issue.
> Drill returns big int result not matching expected result
> ---------------------------------------------------------
>
> Key: DRILL-681
> URL: https://issues.apache.org/jira/browse/DRILL-681
> Project: Apache Drill
> Issue Type: Bug
> Components: Functions - Drill
> Affects Versions: 0.1.0-m1
> Reporter: Krystal
> Fix For: 0.4.0
>
>
> I have several functions that take integers (int, big int). The output from drill displays the numbers with E to the x power. In some cases with huge integer results, it truncates the data. Here are some examples:
> select variance(voterzone) from voter;
> drill: 7.56958727143133E7
> postgres: 75695872.714313313313
> select var_samp(studentnum) from student;
> drill: 8.521370486035167E22
> postgres: 85213704860351887237202
> select variance(studentnum) from student;
> drill: 8.521370486035167E22
> postgres: 85213704860351887237202
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)