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 9ec8e732ae [regression-test]Add order-by to test_bitmap_function
(#11174)
9ec8e732ae is described below
commit 9ec8e732aef44e39b79e815e0b8c4c629c7e965f
Author: Jerry Hu <[email protected]>
AuthorDate: Mon Jul 25 18:24:40 2022 +0800
[regression-test]Add order-by to test_bitmap_function (#11174)
---
.../sql_functions/bitmap_functions/test_bitmap_function.groovy | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/regression-test/suites/query/sql_functions/bitmap_functions/test_bitmap_function.groovy
b/regression-test/suites/query/sql_functions/bitmap_functions/test_bitmap_function.groovy
index a2b5549a62..7413e9e2aa 100644
---
a/regression-test/suites/query/sql_functions/bitmap_functions/test_bitmap_function.groovy
+++
b/regression-test/suites/query/sql_functions/bitmap_functions/test_bitmap_function.groovy
@@ -130,9 +130,9 @@ suite("test_bitmap_function", "query") {
sql """ insert into ${bitmapUnionTable} values(2, to_bitmap(1)); """
sql """ insert into ${bitmapUnionTable} values(2, to_bitmap(2)); """
- qt_sql """ select page_id, bitmap_union(user_id) from ${bitmapUnionTable}
group by page_id """
- qt_sql """ select page_id, bitmap_count(bitmap_union(user_id)) from
${bitmapUnionTable} group by page_id """
- qt_sql """ select page_id, count(distinct user_id) from
${bitmapUnionTable} group by page_id """
+ qt_sql """ select page_id, bitmap_union(user_id) from ${bitmapUnionTable}
group by page_id order by page_id """
+ qt_sql """ select page_id, bitmap_count(bitmap_union(user_id)) from
${bitmapUnionTable} group by page_id order by page_id """
+ qt_sql """ select page_id, count(distinct user_id) from
${bitmapUnionTable} group by page_id order by page_id """
sql """ drop table ${bitmapUnionTable} """
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]