Categories:

Aggregate functions (Counting Distinct Values)

BITMAP_CONSTRUCT_AGGÂļ

Returns a bitmap with bits set for each distinct value in a group.

See also:

Using Bitmaps to Compute Distinct Values for Hierarchical Aggregations

SyntaxÂļ

BITMAP_CONSTRUCT_AGG( <relative_position> )
Copy

ArgumentsÂļ

relative_position

The relative position of a bit for a value (returned by the BITMAP_BIT_POSITION function).

ReturnsÂļ

The function returns a BINARY value that is a bitmap with bits set for each distinct value in a group.

ExamplesÂļ

See Using Bitmaps to Compute Distinct Values for Hierarchical Aggregations.