Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8759

Use double precision for HLL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 3.2.0
    • Impala 3.4.0
    • Backend
    • ghx-label-3

    Description

      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

      Attachments

        Activity

          People

            wzhou Wenzhe Zhou
            peter.ebert Peter Ebert
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: