krishan1390 commented on issue #17075:
URL: https://github.com/apache/pinot/issues/17075#issuecomment-3516665660

   Thanks for reporting this. 
   
   HLL has an upper bound of error so adding 10% buffer guarantees that approx 
cardinality > actual cardinality when unique elements > threshold.
   
   But when unique elements < threshold (like 5 elements in this case), the 
error margin becomes wider. I will make changes to store unique values upto a 
threshold so that we get actual cardinality in such cases.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to