Skip to content

Commit

Permalink
(AzureCXP) fixes #24135
Browse files Browse the repository at this point in the history
Proposing changes for makeset functionality as it return array  and sort is undefined in the array item
  • Loading branch information
MohitVerma-MSFT committed Feb 4, 2019
1 parent 7509c8b commit 3432a34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions articles/azure-monitor/log-query/advanced-aggregations.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Event
| computer2 | [326,105,302,301,300,102] |
| ... | ... |

Like `makelist`, `makeset` also works with ordered data and will generate the arrays based on the order of the rows that are passed into it.
Like `makelist`, `makeset` also works with ordered data and will generate the array of the set of distinct values that Expr takes in the group. The array's sort order is undefined.

## Expanding lists
The inverse operation of `makelist` or `makeset` is `mvexpand`, which expands a list of values to separate rows. It can expand across any number of dynamic columns, both JSON and array. For example, you could check the *Heartbeat* table for solutions sending data from computers that sent a heartbeat in the last hour:
Expand Down Expand Up @@ -184,4 +184,4 @@ See other lessons for using the Log Analytics query language:
- [Advanced aggregations](advanced-aggregations.md)
- [JSON and data structures](json-data-structures.md)
- [Joins](joins.md)
- [Charts](charts.md)
- [Charts](charts.md)

0 comments on commit 3432a34

Please sign in to comment.