BITMAP_OR

functionsupportedCore SQL functions

docs.snowflake.com ↗

Aggregate functions

Returns a bitmap that is the result of a bitwise OR operation on two input bitmaps.

Syntax

BITMAP_OR( <bitmap1> , <bitmap2> )

Parameters

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

Returns

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

See also