count_distinct

Aliases: countdistinct (deprecated).

count_distinct([item: storable]+) -> int64

Estimate the approximate number of distinct values in the input using hyper-log-log.

(This is less precise, but faster than count_distinct_exact).

Domain

This is an aggregate function (aggregates rows over a group in aggregate verbs).

This is a window function (calculates over a group of multiple input rows using windowing).

Categories