Skip to content

What's the error rate of APPROX_COUNT_DISTINCT ? #6590

Answered by EmmyMiao87
tarepanda1024 asked this question in Q&A
Discussion options

You must be logged in to vote

参数类型不一样,approx_count_distinct 参数类型没限制,但是 hll_union_agg 参数类型必须为 hll 类型。
实现上都用了hll 的算法,没差别。
误差率你可以 google 一下,hll 算法误差率,是有精确公式计算出来的

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tarepanda1024
Comment options

Answer selected by EmmyMiao87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants