You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by al...@apache.org on 2021/03/06 00:58:47 UTC
[datasketches-postgresql] branch master updated: more tests
This is an automated email from the ASF dual-hosted git repository.
alsay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/datasketches-postgresql.git
The following commit(s) were added to refs/heads/master by this push:
new c0a3f16 more tests
c0a3f16 is described below
commit c0a3f16b623c66f1d734d2db3194b3d849f8a9fd
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Fri Mar 5 16:58:30 2021 -0800
more tests
---
test/kll_sketch_test.sql | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test/kll_sketch_test.sql b/test/kll_sketch_test.sql
index d62edde..e36ee46 100644
--- a/test/kll_sketch_test.sql
+++ b/test/kll_sketch_test.sql
@@ -25,5 +25,9 @@ select kll_float_sketch_get_quantile(kll_float_sketch_merge(sketch), 0.5) as med
-- k = 20, rank of value 6
select kll_float_sketch_get_rank(kll_float_sketch_merge(sketch, 20), 6) as rank from kll_sketch_test;
+select kll_float_sketch_get_pmf(kll_float_sketch_merge(sketch, 20), array[2, 5, 7]) as pmf from kll_sketch_test;
+select kll_float_sketch_get_cdf(kll_float_sketch_merge(sketch, 20), array[2, 5, 7]) as cdf from kll_sketch_test;
+select kll_float_sketch_get_histogram(kll_float_sketch_merge(sketch, 20), 5) as histogram from kll_sketch_test;
+
drop table kll_sketch_test;
drop extension datasketches;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org