v.18.16New Feature

New Parameter for Configuring Precision in uniqCombined Function

Now you can use a parameter to configure the precision of the uniqCombined aggregate function (select the number of HyperLogLog cells). #3406
Added a parameter to the uniqCombined aggregate function that allows users to configure its precision by selecting the number of HyperLogLog cells.

Why it matters

This feature enables users to control the trade-off between accuracy and memory usage when using the uniqCombined function, allowing for more precise or lightweight distinct count estimations depending on their needs.

How to use it

When calling the uniqCombined aggregate function, provide an additional parameter specifying the desired number of HyperLogLog cells to set the precision. For example: uniqCombined(1024)(column).