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

Implement statistics estimation for partition columns #1186

Open
rdettai opened this issue Oct 28, 2021 · 2 comments
Open

Implement statistics estimation for partition columns #1186

rdettai opened this issue Oct 28, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@rdettai
Copy link
Contributor

rdettai commented Oct 28, 2021

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
The ability to read partitioned tables is added the the ListingTable in #1141. As partitions are constant columns, we could estimate their statistics pretty accurately (currently they are left as Default.

Describe the solution you'd like
Replace default with a column statistics that has:

  • min value
  • max value
  • distinct count
  • null number as 0
@rdettai rdettai added the enhancement New feature or request label Oct 28, 2021
@andrei-ionescu
Copy link

I think first we need to fully support statistics on nested fields. Please see this comment: #1392 (comment).

@houqp
Copy link
Member

houqp commented Dec 13, 2021

I believe this can be worked on in parallel. Once we implement the solution mentioned in the comment you linked, it should work out of the box for nested columns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants