Skip to content

Returns the union of two bitmaps.

func.bitmap_or(<bm1>, <bm2>)
func.bitmap_or(get_column(table, 'bm1'), get_column(table, 'bm2'))
┌──────────┐
│ (bitmap) │
└──────────┘
BITMAP_OR(<bm1>, <bm2>)
SELECT BITMAP_TO_STRING(BITMAP_OR(
BITMAP_FROM_STRING('1,2'), BITMAP_FROM_STRING('2,3')));
┌───────┐
1,2,3
└───────┘