groupBitmapXor
groupBitmapXor calculates the XOR of a bitmap column, and returns the cardinality of type UInt64, if used with suffix -State, then it returns a bitmap object.
Arguments
expr – An expression that results in AggregateFunction(groupBitmap, UInt*) type.
Returned value
Value of the UInt64 type.
Example
groupBitmapXor
Introduced in: v20.1
Calculates the XOR 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