Snowflake Functions
Aggregate Functions
Returns the first non-null value of a column Supported Signatures
approximate distinct row count Supported Signatures
percentile approximation of inputs Supported Signatures
tdigest state in JSON format Supported Signatures
A tdigest state in JSON format Supported Signatures
ESTIMATED PERCENTILE VALUE Supported Signatures
Array containing top k items and their frequencies Supported Signatures
An internal state Supported Signatures
A state created by combining information from combining all input Supported Signatures
Array containing most common k items and their frequencies Supported Signatures
Similarity approximation of inputs Supported Signatures
Similarity approximation of inputs Supported Signatures
output array Supported Signatures
output array Supported Signatures
output array Supported Signatures
Returns the average of the values in a group. Null values are ignored. Supported Signatures
Returns the bitwise AND of a column. Null values are ignored. Supported Signatures
relative position in bitmap Supported Signatures
bucket index of the destination bitmap Supported Signatures
bitmap Supported Signatures
number of set bits in the bitmap Supported Signatures
destination bitmap Supported Signatures
Returns the bitwise OR of a column. Null values are ignored. Supported Signatures
Returns the bitwise XOR of a column. Null values are ignored. Supported Signatures
Returns the logical (boolean) AND of a column. Null values are ignored. Supported Signatures
Returns the logical (boolean) OR of a column. Null values are ignored. Supported Signatures
Returns the logical (boolean) XOR of a column. Null values are ignored. Supported Signatures
Returns the correlation coefficient for non-null pairs in a group. Supported Signatures
Return number of non-null values of a given expression Supported Signatures
Returns a conditional count Supported Signatures
Returns the population covariance for non-null pairs in a group. Supported Signatures
Returns the sample covariance for non-null pairs in a group. Supported Signatures
Supported Signatures
Returns grouping bit-vector Supported Signatures
aggregate hash value Supported Signatures
approximate distinct row count Supported Signatures
HyperLogLog state Supported Signatures
combined HyperLogLog state Supported Signatures
approximate distinct row count Supported Signatures
HyperLogLog state as a compound OBJECT Supported Signatures
HyperLogLog state in binary format Supported Signatures
Returns the sample kurtosis of the values in a group. Null values are ignored. Supported Signatures
output string Supported Signatures
Returns the maximum of a column Supported Signatures
Returns value of first column with maximum second column val Supported Signatures
The median of a column Supported Signatures
Returns the minimum of a column Supported Signatures
Returns value of first column with minimum second column val Supported Signatures
Minhash state including an array of k (first input arg) minimum hash values Supported Signatures
Combined result of two (or more) minhash states Supported Signatures
Returns the most frequent item of a column Supported Signatures
output object Supported Signatures
value of a sorted key at specified percentile in continuous distribution Supported Signatures
value of a sorted key at specified percentile in discrete distribution Supported Signatures
Returns the average of the independent variable (2nd parameter) for non-null pairs. Supported Signatures
Returns the average of the dependent variable (1st parameter) for non-null pairs. Supported Signatures
Returns the number of non-null number pairs. Supported Signatures
Returns the intercept of the univariate linear regression line for non-null pairs. Supported Signatures
Returns the coefficient of determination for non-null pairs. Supported Signatures
Returns the slope of the linear regression line for non-null pairs. Supported Signatures
Returns REGR_COUNT(expr1, expr2) * VAR_POP(expr2) for non-null pairs. Supported Signatures
Returns REGR_COUNT(expr1, expr2) * COVAR_POP(expr1, expr2) for non-null pairs. Supported Signatures
Returns REGR_COUNT(expr1, expr2) * VAR_POP(expr1) for non-null pairs. Supported Signatures
Returns the sample skew of the values in a group. Null values are ignored. Supported Signatures
Returns the sample standard deviation of the values in a group. Null values are ignored. Supported Signatures
Returns the population standard deviation of the values in a group. Null values are ignored. Supported Signatures
Returns the sample standard deviation of the values in a group. Null values are ignored. Supported Signatures
Returns a sum of a column Supported Signatures
Returns the population variance of the values in a group. Null values are ignored. Supported Signatures
Returns the sample variance of the values in a group. Null values are ignored. Supported Signatures
Returns the sample variance of the values in a group. Null values are ignored. Supported Signatures
Returns the population variance of the values in a group. Null values are ignored. Supported Signatures
Returns the sample variance of the values in a group. Null values are ignored. Supported Signatures
โI