Module regr

Source
Expand description

Defines physical expressions that can evaluated at runtime during query execution

Structs§

Regr
RegrAccumulator
RegrAccumulator is used to compute linear regression aggregate functions by maintaining statistics needed to compute them in an online fashion.

Enums§

RegrType

Functions§

regr_avgx
Compute a linear regression of type RegrType::AvgX
regr_avgx_udaf
AggregateFunction that returns a AggregateUDF for regr_avgx
regr_avgy
Compute a linear regression of type RegrType::AvgY
regr_avgy_udaf
AggregateFunction that returns a AggregateUDF for regr_avgy
regr_count
Compute a linear regression of type RegrType::Count
regr_count_udaf
AggregateFunction that returns a AggregateUDF for regr_count
regr_intercept
Compute a linear regression of type RegrType::Intercept
regr_intercept_udaf
AggregateFunction that returns a AggregateUDF for regr_intercept
regr_r2
Compute a linear regression of type RegrType::R2
regr_r2_udaf
AggregateFunction that returns a AggregateUDF for regr_r2
regr_slope
Compute a linear regression of type RegrType::Slope
regr_slope_udaf
AggregateFunction that returns a AggregateUDF for regr_slope
regr_sxx
Compute a linear regression of type RegrType::SXX
regr_sxx_udaf
AggregateFunction that returns a AggregateUDF for regr_sxx
regr_sxy
Compute a linear regression of type RegrType::SXY
regr_sxy_udaf
AggregateFunction that returns a AggregateUDF for regr_sxy
regr_syy
Compute a linear regression of type RegrType::SYY
regr_syy_udaf
AggregateFunction that returns a AggregateUDF for regr_syy