bitmap_to_array
BITMAP を BIGINT 配列に変換します。
Syntax
ARRAY<BIGINT> BITMAP_TO_ARRAY (bitmap)
Parameters
bitmap
: 変換したいビットマップ。
Return value
BIGINT 配列を返します。
Examples
select bitmap_to_array(bitmap_from_string("1, 7"));
+----------------------------------------------+
| bitmap_to_array(bitmap_from_string('1, 7')) |
+----------------------------------------------+
| [1,7] |
+----------------------------------------------+
select bitmap_to_array(NULL);
+-----------------------+
| bitmap_to_array(NULL) |
+-----------------------+
| NULL |
+-----------------------+