This method takes a list column and expands it so that each element of the list gets its own row.
unnest() translates to Kusto's mv-expand operator.
data |
A Kusto tbl.
|
cols |
Specification of columns to unnest.
|
... |
:
previously you could write df %>% unnest(x, y, z) .
Convert to df %>% unnest(c(x, y, z)) . If you previously created a new
variable in unnest() you'll now need to do it explicitly with mutate() .
Convert df %>% unnest(y = fun(x, y, z))
to df %>% mutate(y = fun(x, y, z)) %>% unnest(y) .
|
keep_empty |
Needed for agreement with generic. Not otherwise used. Kusto does not keep empty rows.
|
ptype |
Needed for agreement with generic. Not otherwise used.
|
names_sep |
Needed for agreement with generic. Not otherwise used.
|
names_repair |
Needed for agreement with generic. Not otherwise used.
|
.drop |
Needed for agreement with generic. Not otherwise used.
|
.id |
Data frame identifier - if supplied, will create a new column with name .id, giving a unique identifier. This is most useful if the list column is named.
|
.sep |
Needed for agreement with generic. Not otherwise used.
|
.preserve |
Needed for agreement with generic. Not otherwise used.
|