Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(planner): Introduce histogram in column statistics #9310

Merged
merged 2 commits into from Dec 21, 2022

Conversation

leiysky
Copy link
Member

@leiysky leiysky commented Dec 20, 2022

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

This PR introduces the histogram to represent data distribution of column.

With histogram, we can compute selectivity of filters and cardinality of relational operators.

In this PR, we only support generating histograms in uniform distribution with NDV and row count. And only limited data types are supported. More functions will be implemented later.

@vercel
Copy link

vercel bot commented Dec 20, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
databend ⬜️ Ignored (Inspect) Dec 21, 2022 at 5:12AM (UTC)

@mergify mergify bot added the pr-feature this PR introduces a new feature to the codebase label Dec 20, 2022
@BohuTANG
Copy link
Member

Many tests failed, converting to draft.

@BohuTANG BohuTANG marked this pull request as draft December 21, 2022 00:19
@BohuTANG
Copy link
Member

@mergify update

@mergify
Copy link
Contributor

mergify bot commented Dec 21, 2022

update

❌ Base branch update has failed

refusing to allow a GitHub App to create or update workflow .github/workflows/production.yml without workflows permission
err-code: B27EF

@leiysky leiysky marked this pull request as ready for review December 21, 2022 05:34
@BohuTANG BohuTANG merged commit aa155ce into datafuselabs:main Dec 21, 2022
@leiysky leiysky deleted the histogram branch December 21, 2022 07:36
@xudong963 xudong963 mentioned this pull request Jan 14, 2023
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-feature this PR introduces a new feature to the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants