mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
modify bitmap test sql
This commit is contained in:
parent
4d42a297ae
commit
a8377af02f
@ -21,7 +21,7 @@ SELECT pickup_date, groupBitmap( uid ) AS user_num, bitmapToArray(groupBitmapSta
|
|||||||
SELECT
|
SELECT
|
||||||
bitmapCardinality(day_today) AS today_users,
|
bitmapCardinality(day_today) AS today_users,
|
||||||
bitmapCardinality(day_before) AS before_users,
|
bitmapCardinality(day_before) AS before_users,
|
||||||
bitmapOrCardinality(day_today, day_before)ll_users,
|
bitmapOrCardinality(day_today, day_before) AS all_users,
|
||||||
bitmapAndCardinality(day_today, day_before) AS old_users,
|
bitmapAndCardinality(day_today, day_before) AS old_users,
|
||||||
bitmapAndnotCardinality(day_today, day_before) AS new_users,
|
bitmapAndnotCardinality(day_today, day_before) AS new_users,
|
||||||
bitmapXorCardinality(day_today, day_before) AS diff_users
|
bitmapXorCardinality(day_today, day_before) AS diff_users
|
||||||
|
Loading…
Reference in New Issue
Block a user