Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangstar333 committed Oct 31, 2023
1 parent 4974d5c commit 9eccb05
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,6 @@ xian 100.0
-- !select5 --
3

-- !select_all --
20220201 eleme \N 10001,72173389
20220201 meituan \N 10000,10001,72173389
20220202 eleme \N 10000,10001,72173389
20220203 meituan \N 10000,10001,72173389

-- !select6 --
2
3

-- !select7 --
10000,10001,72173389
10000,10001,72173389

-- !group_bitmap_xor --
20220201 10000
20220202 10001
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,11 @@ suite("test_aggregate_all_functions") {
sql "insert into ${tableName_03} select dt,page,bitmap_union(user_id_bitmap) user_id from ${tableName_04} group by dt,page"
sql "insert into ${tableName_03} select dt,page,to_bitmap(user_id_int) user_id from ${tableName_04}"
sql "insert into ${tableName_03} select dt,page,bitmap_hash(user_id_str) user_id from ${tableName_04}"
sql "sync"

qt_bitmap_intersect "select dt, bitmap_to_string(bitmap_intersect(user_id_bitmap)) from ${tableName_04} group by dt order by dt"

qt_select4 "select bitmap_union_count(user_id) from ${tableName_03}"
qt_select5 "select bitmap_count(bitmap_union(user_id)) FROM ${tableName_03}"
qt_select_all " select *, bitmap_to_string(user_id) from pv_bitmap order by 1,2; "
qt_select6 "select bitmap_union_count(user_id) from ${tableName_03} group by page order by 1;"
qt_select7 "select bitmap_to_string(bitmap_union(user_id)) FROM ${tableName_03} group by page order by 1;"

qt_group_bitmap_xor "select dt, bitmap_to_string(group_bitmap_xor(user_id_bitmap)) from ${tableName_04} group by dt order by dt"

Expand Down

0 comments on commit 9eccb05

Please sign in to comment.