Aggregate FunctionsMake / Collect
make_list_with_nulls
Returns a dynamic (JSON) array of all values of `expr` in the group, including nulls.
Like make_list, the result is truncated to 1,048,576
values.
Syntax
make_list_with_nulls(expr)Parameters
Prop
Type
Returns: dynamic
Examples
Example 1 — Null side counts stay in the list
datatable(shape:string, sides:int)[
"triangle", int(null),
"square", 4,
"pentagon", 5
]
| summarize sides = make_list_with_nulls(sides)| sides (dynamic) |
|---|
| [null,4,5] |