groupBitmapAnd
Calculations the AND of a bitmap column, return cardinality of type UInt64, if add suffix -State, then return bitmap object.
Arguments
expr – An expression that results in AggregateFunction(groupBitmap, UInt*) type.
Return value
Value of the UInt64 type.
Example
groupBitmapAnd
Introduced in: v20.1
Calculates the AND of a bitmap column and returns it's cardinality.
If suffix combinator -State is added, then it returns a bitmap object.
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