Skip to content

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

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

HIVE-29365: Range predicate within the same histogram bucket leads to an estimate rowcount=1#6319
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

@thomasrebele
thomasrebele marked this pull request as draft February 12, 2026 13:55
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Feel free to reach out on the dev@hive.apache.org list if the patch is in need of reviews.

@thomasrebele

Copy link
Copy Markdown
Contributor Author

Opened a new PR: #6712

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.

2 participants