BITMAP_COUNT
Description
Count the number of elements in the input BITMAP
Syntax
BITMAP_COUNT(<bitmap>)
Parameters
Parameter | Description |
---|---|
<bitmap> | a BITMAP |
Return Value
Returns an integer
Examples
select bitmap_count(to_bitmap(1)) cnt;
+------+
| cnt |
+------+
| 1 |
+------+