-
Notifications
You must be signed in to change notification settings - Fork 2
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: scaling approximate aggregate values #21
Comments
taewhi
added a commit
that referenced
this issue
Aug 4, 2022
[Issue #21] Feat: scaling approximate aggregate values
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For AVG function, we do not have to scale the result of approximate aggregation
This is because the avg result is not affected even if the number of input rows is changed.
However, the approximate aggregate values have to be scaled up for other functions like SUM and COUNT.
We need to multiply the ratio | original table | / | synopsis table | to the approximate results.
The text was updated successfully, but these errors were encountered: