You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Peter Ebert (JIRA)" <ji...@apache.org> on 2019/07/12 22:09:00 UTC

[jira] [Created] (IMPALA-8759) Use double precision for HLL

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)