groupBitmapOr
groupBitmapOr
Introduced in: v20.1
Calculates the OR of a bitmap column and returns it's cardinality.
If suffix combinator -State is added, then it returns a bitmap object.
This is equivalent to groupBitmapMerge (groupBitmap with the -Merge combinator suffix).
Syntax
Arguments
expr— Expression that results in anAggregateFunction(groupBitmap, UInt*)type.AggregateFunction(groupBitmap, UInt*)
Returned value
Returns a count of type UInt64, or a bitmap object when using -State. UInt64
Examples
Usage example
Using -State combinator