This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 708c1850d9 [test](hll) add test case for hll_raw_agg (#19127)
708c1850d9 is described below
commit 708c1850d921cfcc73c4b81b36c65c560f82a857
Author: TengJianPing <[email protected]>
AuthorDate: Thu Apr 27 11:33:49 2023 +0800
[test](hll) add test case for hll_raw_agg (#19127)
---
regression-test/data/types/complex_types/basic_agg_test.out | 5 +++++
regression-test/suites/types/complex_types/basic_agg_test.groovy | 4 +++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/regression-test/data/types/complex_types/basic_agg_test.out
b/regression-test/data/types/complex_types/basic_agg_test.out
index b1dfeeca40..bdd9af2e39 100644
--- a/regression-test/data/types/complex_types/basic_agg_test.out
+++ b/regression-test/data/types/complex_types/basic_agg_test.out
@@ -14,6 +14,11 @@
2 1
3 2
+-- !sql_hll_cardinality2 --
+1 0
+2 1
+3 2
+
-- !sql_quantile_state --
1 \N
2 \N
diff --git a/regression-test/suites/types/complex_types/basic_agg_test.groovy
b/regression-test/suites/types/complex_types/basic_agg_test.groovy
index 051c555152..6133a09031 100644
--- a/regression-test/suites/types/complex_types/basic_agg_test.groovy
+++ b/regression-test/suites/types/complex_types/basic_agg_test.groovy
@@ -26,10 +26,12 @@ suite("basic_agg_test", "types") {
qt_sql_bitmap """select * from bitmap_basic_agg;"""
- qt_sql_hll """select * from hll_basic_agg;"""
+ qt_sql_hll """select * from hll_basic_agg order by k1;"""
qt_sql_hll_cardinality """select k1, hll_cardinality(hll_union(k2)) from
hll_basic_agg group by k1 order by k1;"""
+ qt_sql_hll_cardinality2 """select k1, hll_cardinality(hll_raw_agg(k2))
from hll_basic_agg group by k1 order by k1;"""
+
qt_sql_quantile_state """select * from quantile_state_basic_agg;"""
qt_sql_quantile_state_percent """select k1,
quantile_percent(quantile_union(k2), 0.5) from quantile_state_basic_agg group
by k1 order by k1;"""
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]