update test output

This commit is contained in:
Andy Eschbacher
2015-06-25 08:17:41 -04:00
parent 97140b17c9
commit 13946b4d47
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -19,10 +19,10 @@ BEGIN
-- for n <= 10 depending on # of distinct values -- for n <= 10 depending on # of distinct values
EXECUTE 'WITH a As ( EXECUTE 'WITH a As (
SELECT SELECT
count(*) cnt, count(*) cnt
e
FROM FROM
(SELECT * FROM unnest($2) e ) x (SELECT * FROM unnest($2) e ) x
WHERE e is not null
GROUP BY e GROUP BY e
ORDER BY cnt DESC ORDER BY cnt DESC
), ),
@@ -31,7 +31,7 @@ BEGIN
sum(cnt) OVER (ORDER BY cnt DESC) / $1 As cumsum sum(cnt) OVER (ORDER BY cnt DESC) / $1 As cumsum
FROM a FROM a
LIMIT 10 LIMIT 10
) )
SELECT max(cumsum) maxval FROM b' SELECT max(cumsum) maxval FROM b'
INTO maxval INTO maxval
USING element_count, in_array; USING element_count, in_array;
+1 -1
View File
@@ -1 +1 @@
f 0