@@ -49,10 +49,6 @@ pub enum AggregateFunction {
4949 NthValue ,
5050 /// Variance (Population)
5151 VariancePop ,
52- /// Standard Deviation (Sample)
53- Stddev ,
54- /// Standard Deviation (Population)
55- StddevPop ,
5652 /// Correlation
5753 Correlation ,
5854 /// Slope from linear regression
@@ -107,8 +103,6 @@ impl AggregateFunction {
107103 ArrayAgg => "ARRAY_AGG" ,
108104 NthValue => "NTH_VALUE" ,
109105 VariancePop => "VAR_POP" ,
110- Stddev => "STDDEV" ,
111- StddevPop => "STDDEV_POP" ,
112106 Correlation => "CORR" ,
113107 RegrSlope => "REGR_SLOPE" ,
114108 RegrIntercept => "REGR_INTERCEPT" ,
@@ -159,9 +153,6 @@ impl FromStr for AggregateFunction {
159153 "string_agg" => AggregateFunction :: StringAgg ,
160154 // statistical
161155 "corr" => AggregateFunction :: Correlation ,
162- "stddev" => AggregateFunction :: Stddev ,
163- "stddev_pop" => AggregateFunction :: StddevPop ,
164- "stddev_samp" => AggregateFunction :: Stddev ,
165156 "var_pop" => AggregateFunction :: VariancePop ,
166157 "regr_slope" => AggregateFunction :: RegrSlope ,
167158 "regr_intercept" => AggregateFunction :: RegrIntercept ,
@@ -231,8 +222,6 @@ impl AggregateFunction {
231222 AggregateFunction :: Correlation => {
232223 correlation_return_type ( & coerced_data_types[ 0 ] )
233224 }
234- AggregateFunction :: Stddev => stddev_return_type ( & coerced_data_types[ 0 ] ) ,
235- AggregateFunction :: StddevPop => stddev_return_type ( & coerced_data_types[ 0 ] ) ,
236225 AggregateFunction :: RegrSlope
237226 | AggregateFunction :: RegrIntercept
238227 | AggregateFunction :: RegrCount
@@ -304,8 +293,6 @@ impl AggregateFunction {
304293 }
305294 AggregateFunction :: Avg
306295 | AggregateFunction :: VariancePop
307- | AggregateFunction :: Stddev
308- | AggregateFunction :: StddevPop
309296 | AggregateFunction :: ApproxMedian => {
310297 Signature :: uniform ( 1 , NUMERICS . to_vec ( ) , Volatility :: Immutable )
311298 }
0 commit comments