title_wip

Aggregate function that re-samples time series data to the specified grid.|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | [timeSeriesResetsToGrid](/docs/sql-reference/aggregate-functions/reference/timeSeriesResetsToGrid) Aggregate function that calculates PromQL-like resets over time series data on the specified grid.|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | [topK](/docs/sql-reference/aggregate-functions/reference/topk) Returns an array of the approximately most frequent values in the specified column. The resulting array is sorted in descending order of approximate frequency of values (not by the values themselves).|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | [topKWeighted](/docs/sql-reference/aggregate-functions/reference/topkweighted) Returns an array of the approximately most frequent values in the specified column. The resulting array is sorted in descending order of approximate frequency of values (not by the values themselves). Additionally, the weight of the value is taken into account.|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | [uniq](/docs/sql-reference/aggregate-functions/reference/uniq) Calculates the approximate number of different values of the argument.|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | [uniqCombined](/docs/sql-reference/aggregate-functions/reference/uniqcombined) Calculates the approximate number of different argument values.|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | [uniqCombined64](/docs/sql-reference/aggregate-functions/reference/uniqcombined64) Calculates the approximate number of different argument values. It is the same as uniqCombined, but uses a 64-bit hash for all data types rather than just for the String data type.|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | [uniqExact](/docs/sql-reference/aggregate-functions/reference/uniqexact) Calculates the exact number of different argument values.|  |  |  |  |  |  |  |  |  |  |  |  |  |  | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | [uniqHLL12](/docs/sql-reference/aggregate-functions/reference/uniqhll12) Calculates the approximate number of different argument values, using the HyperLogLog algorithm.|  |  |  |  |  |  |  |  |  |  |  |  | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | [uniqTheta](/docs/sql-reference/aggregate-functions/reference/uniqthetasketch) Calculates the approximate number of different argument values, using the Theta Sketch Framework.|  |  |  |  |  |  |  |  |  |  | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | [varPop](/docs/sql-reference/aggregate-functions/reference/varPop) Calculates the population variance.|  |  |  |  |  |  |  |  | | --- | --- | --- | --- | --- | --- | --- | --- | | [varPopStable](/docs/sql-reference/aggregate-functions/reference/varpopstable) Returns the population variance. Unlike varPop , this function uses a numerically stable algorithm. It works slower but provides a lower computational error.|  |  |  |  |  |  | | --- | --- | --- | --- | --- | --- | | [varSamp](/docs/sql-reference/aggregate-functions/reference/varSamp) Calculate the sample variance of a data set.|  |  |  |  | | --- | --- | --- | --- | | [varSampStable](/docs/sql-reference/aggregate-functions/reference/varsampstable) Calculate the sample variance of a data set. Unlike `varSamp` , this function uses a numerically stable algorithm. It works slower but provides a lower computational error.| [welchTTest](/docs/sql-reference/aggregate-functions/reference/welchttest) Applies Welch's t-test to samples from two populations. | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |