BITMAP_CONSTRUCT_AGG

functionsupportedCore SQL functions

docs.snowflake.com ↗

Aggregate functions

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

Syntax

BITMAP_CONSTRUCT_AGG( <relative_position> )

Parameters

NameRequiredDescription
relative_positionrequiredThe 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.

See also