Berserk Docs
Aggregate FunctionsStatistical

binary_all_or

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

Syntax

binary_all_or(val)

Parameters

Prop

Type

Returns: long

Syntax

binary_all_or(val)

Parameters

Prop

Type

Returns: int

Examples

Example 1 — OR of four masks

datatable(num:long)[
  2290647048,
  1107296256,
  7761920,
  5
]
| summarize result = toupper(tohex(binary_all_or(num)))
result (string)
CAFEF00D

On this page