BITMAP_AND_AGG

functionsupportedCore SQL functions

docs.snowflake.com ↗

Aggregate functions

Returns a bitmap that is the result of a bitwise AND operation on all input bitmaps in a group (intersection).

Syntax

BITMAP_AND_AGG( <bitmap> )

Parameters

NameRequiredDescription
bitmaprequiredA bitmap returned by the BITMAP_CONSTRUCT_AGG, BITMAP_OR_AGG, or other bitmap functions.

Returns

A BINARY value representing a bitmap with only the bits set that are present in all input bitmaps in the group.

See also