mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 23:57:20 -04:00
33 lines
526 B
Text
33 lines
526 B
Text
[discrete]
|
|
[[esql-mv_expand]]
|
|
=== `MV_EXPAND`
|
|
|
|
preview::[]
|
|
|
|
**Syntax**
|
|
|
|
[source,esql]
|
|
----
|
|
MV_EXPAND column
|
|
----
|
|
|
|
*Parameters*
|
|
|
|
`column`::
|
|
The multivalued column to expand.
|
|
|
|
*Description*
|
|
|
|
The `MV_EXPAND` processing command expands multivalued columns into one row per
|
|
value, duplicating other columns.
|
|
|
|
*Example*
|
|
|
|
[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]
|
|
|===
|