你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
binary_all_or() (aggregation function)
Applies to: ✅ Microsoft Fabric ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Accumulates values using the binary OR
operation for each summarization group, or in total if a group is not specified.
Note
This function is used in conjunction with the summarize operator.
Syntax
binary_all_or
(
expr)
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
expr | long |
✔️ | The value used for the binary OR calculation. |
Returns
Returns an aggregated value using the binary OR
operation over records for each summarization group, or in total if a group is not specified.
Example
The following example produces CAFEF00D
using binary OR
operations:
datatable(num:long)
[
0x88888008,
0x42000000,
0x00767000,
0x00000005,
]
| summarize result = toupper(tohex(binary_all_or(num)))
Output
result |
---|
CAFEF00D |