Skip to content

HIVE-29365: Range predicate within the same histogram bucket leads to an estimate rowcount=1 - #6712

Open
thomasrebele wants to merge 1 commit into
apache:masterfrom
thomasrebele:tr/HIVE-29365
Open

HIVE-29365: Range predicate within the same histogram bucket leads to an estimate rowcount=1#6712
thomasrebele wants to merge 1 commit into
apache:masterfrom
thomasrebele:tr/HIVE-29365

Conversation

@thomasrebele

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Take the error of the KLL sketch into account when estimating a selectivity.

Why are the changes needed?

Without the change, some rowcounts are underestimated by several orders of magnitude.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Unit test TestFilterSelectivityEstimator.

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants