groupBitmapOr
Calculations the OR of a bitmap column, return cardinality of type UInt64, if add suffix -State, then return a bitmap object. This is equivalent to groupBitmapMerge.
Arguments
expr – An expression that results in AggregateFunction(groupBitmap, UInt*) type.
Returned value
Value of the UInt64 type.
Example
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