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

Leverage boolean statistics for computing selectivity

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Impala 3.4.0
    • None
    • Frontend
    • None
    • ghx-label-7

    Description

      As part of computing stats for a boolean column we record the value counts.

      numTrues, numFalses, numNulls.

      However when calculating cardinality for boolean column predicates the selectivity of 1/3 is always used instead of factoring the value distribution recorded in the stats.

      Attachments

        Issue Links

          Activity

            People

              superdupershant Shant Hovsepian
              superdupershant Shant Hovsepian
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: