Supported Aggregate Functions in Arroyo SQL
avg
mean
bit_and
bit_or
bit_xor
bool_and
bool_or
count
<column> IS NOT NULL
in the WHERE
clause.
max
mean
median
min
sum
array_agg
first_value
last_value
corr
covar
covar_pop
covar_samp
stddev
stddev_pop
stddev_samp
var
var_pop
var_samp
regr_slope
regr_avgx
expression_x
for the non-null paired data points.
regr_avgy
expression_y
for the non-null paired data points.
regr_count
regr_intercept
b
.
regr_r2
regr_sxx
regr_syy
regr_sxy
approx_distinct
approx_median
approx_percentile_cont(x, 0.5)
.
approx_percentile_cont
approx_percentile_cont_with_weight