Syntax
Parameters
Return Type
BIGINT
Examples
The following example builds an HLL++ sketch from 1,000 unique integers usingHLL_COUNT_BUILD and estimates the distinct count:
Rows: 1Execution time: 6.16ms
HLL_COUNT_ESTIMATE can also be applied to each sketch independently before merging. The following example builds two sketches from overlapping ranges and estimates the cardinality of each:
Rows: 2Execution time: 6.18ms
Rows: 1Execution time: 6.21ms