ozankabak commented on issue #8078:
URL: 
https://github.com/apache/arrow-datafusion/issues/8078#issuecomment-1799810503

   You still need `Inexact`; e.g. cases involving selectivity. Assume that you 
have a column whose bounds are `[1, 100]`. After applying a filter of `<= 10`, 
the row count estimate is an inexact estimate of `0.1 * N` where `N` was the 
estimate prior to the filter.
   
   On the contrary: If you have `Between`, you do not need `Exact` anymore -- 
An `Exact` value is simply a `Between` value with a singleton interval inside.
   
   @berkaysynnada's first proposal is the more general one: It allows range 
estimations where either bound can be exact or inexact estimations. His second 
proposal is slightly simpler to implement (and leverages the interval library), 
but it constrains range estimations to exact bounds.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to