amansinha100 opened a new pull request #1772: DRILL-7187: Improve selectivity 
estimation of BETWEEN predicates and …
URL: https://github.com/apache/drill/pull/1772
 
 
   …arbitrary combination of range predicates.
   
   - Also, propagate the totalRowCount to the histogram selectivity estimation 
and use it instead of the nonNullCount. 
   - Before and after estimates for the following predicate: 
       `where o.o_orderdate >= date '1996-10-01' and o.o_orderdate < date 
'1996-10-01' + interval '3' month`
   BEFORE this PR:  estimated filter row count = **3206**
   AFTER this PR:     estimated filter row count = **601**
   ACTUAL row count                                           = **561**
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to