[discrete]
[[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]
|===
