Aggregate
Returns the approximate number of unique, non-null values in a column.
Computes the average of a set of values.
Returns the bitwise AND
of non-NULL input values.
Returns the bitwise OR
of non-NULL input values.
Calculates the Pearson correlation coefficient of the values expression1 and expression2. The function name must be enclosed in double quotes (βCORRβ).
Returns the total number of records for the specified expression.
Returns the population covariance for non-NULL pairs across all input values.
Returns the sample covariance for non-NULL pairs across all input values.
Uses HyperLogLog to return an approximation of the distinct cardinality of the input.
Concatenates a group of rows into a list of strings and places a separator between them.
Returns the maximum value among the non-NULL input expressions.
Returns the minimum value among the non-NULL input expressions.
Returns an approximate distinct value number, similar to COUNT(DISTINCT col)
. NDV can return results faster than using the combination of COUNT and DISTINCT while using a constant amount of memory, resulting in less memory usage for columns with high cardinality.
Returns the standard deviation of non-NULL values in a column with a numeric data type. If all records inside a group are NULL, returns NULL.
Returns the population standard deviation (square root of variance) of non-NULL values in a column with a numeric data type. If all records inside a group are NULL, returns NULL.
Returns the sample standard deviation (square root of sample variance) of non-NULL values in a column with a numeric data type. If all records inside a group are NULL, returns NULL.
Returns the sum of non-NULL input expressions.
Returns the population variance of non-NULL records.
Returns the sample variance of non-NULL records.
Last updated