jnturton edited a comment on pull request #2432:
URL: https://github.com/apache/drill/pull/2432#issuecomment-1022065612


   @tdunning, that would be great thanks.  Here the selectivity of a range 
predicate on an integer column is estimated using a set of quantile estimates, 
here termed an equidepth histogram (see 
[NumericEquiDepthHistogram](https://github.com/apache/drill/blob/4aefcef2b665c5737471664912a26ef6ed9a6cfc/exec/java-exec/src/main/java/org/apache/drill/exec/planner/common/NumericEquiDepthHistogram.java)).
  The quantile estimates are recovered from a MergingDigest over the integer 
column that was created by an earlier `ANALYSE TABLE` command.  If said 
quantile estimates have shifted then that would explain what we're seeing...


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