Skip to main content
Skip to main content

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

Try ClickHouse Cloud for FREE

Separation of storage and compute, automatic scaling, built-in SQL console, and lots more. $300 in free credits when signing up.

Try it for Free