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

Improve estimation of row count from partition samples #17492

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

branimir-vujicic
Copy link
Contributor

Cherry-pick of trinodb/trino#11333

Reduce the possibility of estimation errors in averageRowsPerPartition
and rowCount due to a couple of outliers by excluding the
min and max rowCount values from the calculation of
avg rows per partition.

Co-authored-by: Raunaq Morarka [email protected]

Test plan - Added Unit test

== NO RELEASE NOTE ==

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 21, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: branimir-vujicic / name: Branimir Vujicic (c071ec4630de896967c5921064e21ef87c52aebb)

@branimir-vujicic branimir-vujicic marked this pull request as ready for review March 21, 2022 22:08
Reduce the possibility of estimation errors in averageRowsPerPartition
and rowCount due to a couple of outliers by excluding the
min and max rowCount values from the calculation of
avg rows per partition.

Cherry-pick of trinodb/trino#11333

Co-authored-by: Raunaq Morarka <[email protected]>
@branimir-vujicic branimir-vujicic force-pushed the backport/Improve_estimation_of_row_count branch from c071ec4 to 668da6f Compare April 22, 2022 08:23
@wanglinsong wanglinsong requested a review from a team as a code owner July 6, 2024 04:32
@wanglinsong wanglinsong requested a review from presto-oss July 6, 2024 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant