Shant Hovsepian created IMPALA-10185:
----------------------------------------

             Summary: Leverage boolean statistics for computing selectivity
                 Key: IMPALA-10185
                 URL: https://issues.apache.org/jira/browse/IMPALA-10185
             Project: IMPALA
          Issue Type: Improvement
    Affects Versions: Impala 3.4.0
            Reporter: Shant Hovsepian
            Assignee: Shant Hovsepian


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to