Berserk Docs
Aggregate FunctionsStatistical

binary_all_xor

Returns the bitwise XOR of every non-null value in the group, or null for a group without one.

Syntax

binary_all_xor(val)

Parameters

Prop

Type

Returns: long

Syntax

binary_all_xor(val)

Parameters

Prop

Type

Returns: int

Examples

Example 1 — XOR of four masks

datatable(num:long)[
  1145062464,
  505290270,
  2427173385,
  725082
]
| summarize result = toupper(tohex(binary_all_xor(num)))
result (string)
CAFEF00D

On this page