mapleFU commented on issue #1307: URL: https://github.com/apache/kvrocks/issues/1307#issuecomment-1911549133
You can first draft a format in discussion, and then move forward to implement it. Some database uses HLL to optimize the ndv: 1. https://github.com/facebookincubator/velox/tree/main/velox/common/hyperloglog 2. https://github.com/ClickHouse/ClickHouse/blob/92e63bf45c3cd36163131e42d4bd003e543031f4/src/Common/HyperLogLogCounter.h You can choose them or using similar like HLL in Redis -- 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]
