BITMAP_ABSOLUTE_POSITION

functionsupportedCore SQL functions

docs.snowflake.com ↗

Aggregate functions

Computes the absolute bit position from a bucket number and a relative bit position. This is the inverse of the BITMAP_BUCKET_NUMBER and BITMAP_BIT_POSITION functions.

Syntax

BITMAP_ABSOLUTE_POSITION( <bucket_number> , <relative_position> )

Parameters

NameRequiredDescription
bucket_numberrequiredThe bucket number (returned by BITMAP_BUCKET_NUMBER).
relative_positionrequiredThe relative bit position within the bucket (returned by BITMAP_BIT_POSITION).

Returns

An INTEGER representing the original absolute position (value).

See also