Support BitMap functions in Cascade planner
Closed this issue · 0 comments
pengpeng-lu commented
support queries like:
select bitmap_bucket_offset, bitmap_construct_agg(bitmap_bit_position(val)) as bitmap
from T
GROUP BY bitmap_bucket_offset(val) as bitmap_bucket_offset
bit_bucket_size = 10000 by default. So if val = 1, 2, 3, ... 10010, the result is:
offset: 0, bitmap = [b'00001110, 0, ... (1249 bytes of 0)]
offset: 10000, bitmap = [0, b'00000100 , 0, .. ]