flip inequality

This commit is contained in:
Andy Eschbacher 2016-09-29 11:37:22 -04:00
parent f11982f531
commit 99856ce956

View File

@ -30,7 +30,7 @@ BEGIN
END IF; END IF;
SELECT array_agg( SELECT array_agg(
outlier_fraction > i / avg_val) INTO out_vals outlier_fraction < i / avg_val) INTO out_vals
FROM unnest(column_values) As x(i); FROM unnest(column_values) As x(i);
RETURN QUERY RETURN QUERY