Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
ghx-label-11
Description
ds_kll_n() receives a serialized Apache DataSketches KLL sketch and returns how many values were fed into the sketch.
Returns a bigint.
Example:
select ds_kll_n(ds_kll_sketch(cast(int_col as float))) from table_name; +------+ | _c0 | +------+ | 6 | +------+