From 23b2ad57c538b0eba0eaa8dfdf121993464d5c7c Mon Sep 17 00:00:00 2001 From: Andy Eschbacher Date: Thu, 29 Sep 2016 11:37:42 -0400 Subject: [PATCH] test updates --- src/pg/test/expected/18_outliers_test.out | 1 + src/pg/test/sql/18_outliers_test.sql | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pg/test/expected/18_outliers_test.out b/src/pg/test/expected/18_outliers_test.out index a329e07..417933b 100644 --- a/src/pg/test/expected/18_outliers_test.out +++ b/src/pg/test/expected/18_outliers_test.out @@ -9,6 +9,7 @@ outlier|rowid t|16 t|17 (2 rows) +ERROR: Standard deviation of input data is zero outlier|rowid t|8 t|11 diff --git a/src/pg/test/sql/18_outliers_test.sql b/src/pg/test/sql/18_outliers_test.sql index 6f18bf1..3b56125 100644 --- a/src/pg/test/sql/18_outliers_test.sql +++ b/src/pg/test/sql/18_outliers_test.sql @@ -48,7 +48,7 @@ WITH a AS ( ARRAY[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]::int[] As ids ), b As ( SELECT - (CDB_StdDevOutlier(vals, 1.0, ids)).* + (cdb_crankshaft.CDB_StdDevOutlier(vals, 1.0, ids)).* FROM a ORDER BY ids) SELECT *