description |
---|
Uses HyperLogLog to return an approximation of the distinct cardinality of the input. |
- expression: Expression for which you want to know the number of distinct values.
Examples
SELECT HLL(TRUE)
-- sample return
- expression: Expression for which you want to know the number of distinct values.
Examples
{% code title="HLL example" %}
SELECT HLL(67.90)
-- sample return
{% endcode %}
- expression: Expression for which you want to know the number of distinct values.
- expression: Expression for which you want to know the number of distinct values.
Examples
{% code title="HLL example" %}
SELECT HLL('2021-06-15')
-- sample return
{% endcode %}
- expression: Expression for which you want to know the number of distinct values.
- expression: Expression for which you want to know the number of distinct values.
- expression: Expression for which you want to know the number of distinct values.
Examples
{% code title="HLL example" %}
SELECT HLL(2021)
-- sample return
{% endcode %}
- expression: Expression for which you want to know the number of distinct values.
Examples
{% code title="HLL example" %}
SELECT HLL(45.7)
-- sample return
{% endcode %}
- expression: Expression for which you want to know the number of distinct values.
- expression: Expression for which you want to know the number of distinct values.
Examples
{% code title="HLL example" %}
SELECT HLL(2021)
-- sample return 1
{% endcode %}
- expression: Expression for which you want to know the number of distinct values.
Examples
{% code title="HLL example" %}
SELECT HLL('spice')
-- sample return 1
{% endcode %}
- expression: Expression for which you want to know the number of distinct values.
Examples
{% code title="HLL example" %}
SELECT HLL('2021-06-17 11:50:59')
-- sample return 1
{% endcode %}