Skip to content

Expands a bitmap into a set of rows.

func.unnest_bitmap(<bitmap>)
func.unnest_bitmap(get_column(table, 'bm'))
UNNEST_BITMAP(<bitmap>)
SELECT * FROM TABLE(UNNEST_BITMAP(BITMAP_FROM_STRING('1,2,3')));
┌───────┐
│ value │
├───────┤
│ 1 │
│ 2 │
│ 3 │
└───────┘