Skip to main content

any_value

Returns the first non-null value of a column Supported Signatures
๐Ÿ”— Official Documentation

approx_count_distinct

approximate distinct row count Supported Signatures
๐Ÿ”— Official Documentation

approx_percentile

percentile approximation of inputs Supported Signatures
๐Ÿ”— Official Documentation

approx_percentile_accumulate

tdigest state in JSON format Supported Signatures
๐Ÿ”— Official Documentation

approx_percentile_combine

A tdigest state in JSON format Supported Signatures
๐Ÿ”— Official Documentation

approx_percentile_estimate

ESTIMATED PERCENTILE VALUE Supported Signatures
๐Ÿ”— Official Documentation

approx_top_k

Array containing top k items and their frequencies Supported Signatures
๐Ÿ”— Official Documentation

approx_top_k_accumulate

An internal state Supported Signatures
๐Ÿ”— Official Documentation

approx_top_k_combine

A state created by combining information from combining all input Supported Signatures
๐Ÿ”— Official Documentation

approx_top_k_estimate

Array containing most common k items and their frequencies Supported Signatures
๐Ÿ”— Official Documentation

approximate_jaccard_index

Similarity approximation of inputs Supported Signatures
๐Ÿ”— Official Documentation

approximate_similarity

Similarity approximation of inputs Supported Signatures
๐Ÿ”— Official Documentation

array_agg

output array Supported Signatures
๐Ÿ”— Official Documentation

array_union_agg

output array Supported Signatures
๐Ÿ”— Official Documentation

array_unique_agg

output array Supported Signatures
๐Ÿ”— Official Documentation

avg

Returns the average of the values in a group. Null values are ignored. Supported Signatures
๐Ÿ”— Official Documentation

bitand_agg

Returns the bitwise AND of a column. Null values are ignored. Supported Signatures
๐Ÿ”— Official Documentation

bitmap_bit_position

relative position in bitmap Supported Signatures
๐Ÿ”— Official Documentation

bitmap_bucket_number

bucket index of the destination bitmap Supported Signatures
๐Ÿ”— Official Documentation

bitmap_construct_agg

bitmap Supported Signatures
๐Ÿ”— Official Documentation

bitmap_count

number of set bits in the bitmap Supported Signatures
๐Ÿ”— Official Documentation

bitmap_or_agg

destination bitmap Supported Signatures
๐Ÿ”— Official Documentation

bitor_agg

Returns the bitwise OR of a column. Null values are ignored. Supported Signatures
๐Ÿ”— Official Documentation

bitxor_agg

Returns the bitwise XOR of a column. Null values are ignored. Supported Signatures
๐Ÿ”— Official Documentation

booland_agg

Returns the logical (boolean) AND of a column. Null values are ignored. Supported Signatures
๐Ÿ”— Official Documentation

boolor_agg

Returns the logical (boolean) OR of a column. Null values are ignored. Supported Signatures
๐Ÿ”— Official Documentation

boolxor_agg

Returns the logical (boolean) XOR of a column. Null values are ignored. Supported Signatures
๐Ÿ”— Official Documentation

corr

Returns the correlation coefficient for non-null pairs in a group. Supported Signatures
๐Ÿ”— Official Documentation

count

Return number of non-null values of a given expression Supported Signatures
๐Ÿ”— Official Documentation

count_if

Returns a conditional count Supported Signatures
๐Ÿ”— Official Documentation

covar_pop

Returns the population covariance for non-null pairs in a group. Supported Signatures
๐Ÿ”— Official Documentation

covar_samp

Returns the sample covariance for non-null pairs in a group. Supported Signatures
๐Ÿ”— Official Documentation

grouping

Supported Signatures
๐Ÿ”— Official Documentation

grouping_id

Returns grouping bit-vector Supported Signatures
๐Ÿ”— Official Documentation

hash_agg

aggregate hash value Supported Signatures
๐Ÿ”— Official Documentation

hll

approximate distinct row count Supported Signatures
๐Ÿ”— Official Documentation

hll_accumulate

HyperLogLog state Supported Signatures
๐Ÿ”— Official Documentation

hll_combine

combined HyperLogLog state Supported Signatures
๐Ÿ”— Official Documentation

hll_estimate

approximate distinct row count Supported Signatures
๐Ÿ”— Official Documentation

hll_export

HyperLogLog state as a compound OBJECT Supported Signatures
๐Ÿ”— Official Documentation

hll_import

HyperLogLog state in binary format Supported Signatures
๐Ÿ”— Official Documentation

kurtosis

Returns the sample kurtosis of the values in a group. Null values are ignored. Supported Signatures
๐Ÿ”— Official Documentation

listagg

output string Supported Signatures
๐Ÿ”— Official Documentation

max

Returns the maximum of a column Supported Signatures
๐Ÿ”— Official Documentation

max_by

Returns value of first column with maximum second column val Supported Signatures
๐Ÿ”— Official Documentation

median

The median of a column Supported Signatures
๐Ÿ”— Official Documentation

min

Returns the minimum of a column Supported Signatures
๐Ÿ”— Official Documentation

min_by

Returns value of first column with minimum second column val Supported Signatures
๐Ÿ”— Official Documentation

minhash

Minhash state including an array of k (first input arg) minimum hash values Supported Signatures
๐Ÿ”— Official Documentation

minhash_combine

Combined result of two (or more) minhash states Supported Signatures
๐Ÿ”— Official Documentation

mode

Returns the most frequent item of a column Supported Signatures
๐Ÿ”— Official Documentation

object_agg

output object Supported Signatures
๐Ÿ”— Official Documentation

percentile_cont

value of a sorted key at specified percentile in continuous distribution Supported Signatures
๐Ÿ”— Official Documentation

percentile_disc

value of a sorted key at specified percentile in discrete distribution Supported Signatures
๐Ÿ”— Official Documentation

regr_avgx

Returns the average of the independent variable (2nd parameter) for non-null pairs. Supported Signatures
๐Ÿ”— Official Documentation

regr_avgy

Returns the average of the dependent variable (1st parameter) for non-null pairs. Supported Signatures
๐Ÿ”— Official Documentation

regr_count

Returns the number of non-null number pairs. Supported Signatures
๐Ÿ”— Official Documentation

regr_intercept

Returns the intercept of the univariate linear regression line for non-null pairs. Supported Signatures
๐Ÿ”— Official Documentation

regr_r2

Returns the coefficient of determination for non-null pairs. Supported Signatures
๐Ÿ”— Official Documentation

regr_slope

Returns the slope of the linear regression line for non-null pairs. Supported Signatures
๐Ÿ”— Official Documentation

regr_sxx

Returns REGR_COUNT(expr1, expr2) * VAR_POP(expr2) for non-null pairs. Supported Signatures
๐Ÿ”— Official Documentation

regr_sxy

Returns REGR_COUNT(expr1, expr2) * COVAR_POP(expr1, expr2) for non-null pairs. Supported Signatures
๐Ÿ”— Official Documentation

regr_syy

Returns REGR_COUNT(expr1, expr2) * VAR_POP(expr1) for non-null pairs. Supported Signatures
๐Ÿ”— Official Documentation

skew

Returns the sample skew of the values in a group. Null values are ignored. Supported Signatures
๐Ÿ”— Official Documentation

stddev

Returns the sample standard deviation of the values in a group. Null values are ignored. Supported Signatures
๐Ÿ”— Official Documentation

stddev_pop

Returns the population standard deviation of the values in a group. Null values are ignored. Supported Signatures
๐Ÿ”— Official Documentation

stddev_samp

Returns the sample standard deviation of the values in a group. Null values are ignored. Supported Signatures
๐Ÿ”— Official Documentation

sum

Returns a sum of a column Supported Signatures
๐Ÿ”— Official Documentation

var_pop

Returns the population variance of the values in a group. Null values are ignored. Supported Signatures
๐Ÿ”— Official Documentation

var_samp

Returns the sample variance of the values in a group. Null values are ignored. Supported Signatures
๐Ÿ”— Official Documentation

variance

Returns the sample variance of the values in a group. Null values are ignored. Supported Signatures
๐Ÿ”— Official Documentation

variance_pop

Returns the population variance of the values in a group. Null values are ignored. Supported Signatures
๐Ÿ”— Official Documentation

variance_samp

Returns the sample variance of the values in a group. Null values are ignored. Supported Signatures
๐Ÿ”— Official Documentation