elasticsearch/docs/reference/esql/processing-commands/mv_expand.asciidoc
Nik Everett 1f383f3cd2 Docs: compress results into query (ESQL-1259)
This compresses the results and the query on the page to take up less
space and make them more obviously connected.
2023-06-12 09:37:45 -05:00

13 lines
360 B
Text

[[esql-mv_expand]]
=== `MV_EXPAND`
The `MV_EXPAND` processing command expands multivalued fields into one row per value, duplicating other fields:
[source.merge.styled,esql]
----
include::{esql-specs}/mv_expand.csv-spec[tag=simple]
----
[%header.monospaced.styled,format=dsv,separator=|]
|===
include::{esql-specs}/mv_expand.csv-spec[tag=simple-result]
|===