Skip to content

Conversation

@shixuan-fan
Copy link
Contributor

Maximum number of buckets in HyperLogLog changed from 8192 to 65536,
so now we could support lower max standard errors.

Copy link
Contributor

@martint martint left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but change the commit message to say: "Reduce lowest standard error for approx_distinct".

@shixuan-fan
Copy link
Contributor Author

shixuan-fan commented Nov 22, 2017

Thanks for the review! I think it should be "lowest max standard error" :)

@martint
Copy link
Contributor

martint commented Nov 22, 2017

No, the "max" in the names of those constants is wrong. It's not an upper bound on the error. It's a "standard error" (i.e., the standard deviation of the distribution of possible errors). So, this changing the "lowest standard error the function can operate with".

I.e., there's not such a thing as a "max standard error".

Maximum number of buckets in HyperLogLog changed from 8192 to 65536,
so now we could support lower max standard errors.
@shixuan-fan shixuan-fan merged commit c2eaae8 into prestodb:master Nov 25, 2017
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.

4 participants