Peter Ebert created IMPALA-8759:
-----------------------------------

             Summary: Use double precision for HLL
                 Key: IMPALA-8759
                 URL: https://issues.apache.org/jira/browse/IMPALA-8759
             Project: IMPALA
          Issue Type: Improvement
            Reporter: Peter Ebert


For /be/src/exprs/aggregate-functions-ir.cc the finalize function uses a float 
which is only capable of 6-9 digits of precision.  More accurate estimates for 
larger cardinalities (beyond 999,999) should be possible with double precision. 
 Another c++ implementation uses double as well 
[https://github.com/dialtr/libcount]



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to