drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krystal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-681) Drill returns big int result in expontial form (E to x) and truncating the values
Date Sat, 10 May 2014 21:57:59 GMT
Krystal created DRILL-681:
-----------------------------

             Summary: Drill returns big int result in expontial form (E to x) and truncating
the values
                 Key: DRILL-681
                 URL: https://issues.apache.org/jira/browse/DRILL-681
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 1.0.0-milestone-1
            Reporter: Krystal


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.2#6252)

Mime
View raw message