BITMAP_COUNT
functionsupportedCore SQL functionsGiven a bitmap that represents the set of distinct values for a column, returns the number of distinct value.
Syntax
BITMAP_COUNT( <bitmap> )
Parameters
| Name | Required | Description |
|---|---|---|
bitmap | required | This expression must evaluate to a bitmap returned by the BITMAP_CONSTRUCT_AGG or BITMAP_OR_AGG functions. |
Returns
The function returns the number of distinct values in a column, as represented by the bits set in the input bitmap.