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

Estimate the total_byte_size of the filter expression's result when selectivity is available #4374

Closed
isidentical opened this issue Nov 25, 2022 · 0 comments · Fixed by #4375
Labels
enhancement New feature or request

Comments

@isidentical
Copy link
Contributor

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
FilterExec can estimate the total_byte_size (as it is estimating the number of rows) when selectivity is available to us.

Describe the solution you'd like
Normalize the total_byte_size by that filter predicate's selectivity to obtain the estimated number of result bytes.

Describe alternatives you've considered
None

Additional context
Originally from @mingmwang at #4372 (comment)

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

Successfully merging a pull request may close this issue.

1 participant