mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 15:47:23 -04:00
This copies the first line of the description of each command to just under the syntax so that it's "in order", before the `Parameters` section. That way if you are reading from top to bottom you see: ``` syntax short description parameter names and descriptions long description examples ``` I've also removed the `Description` section entirely if the description was just one sentence. So in some cases that just isn't `long description`.
31 lines
511 B
Text
31 lines
511 B
Text
[discrete]
|
|
[[esql-mv_expand]]
|
|
=== `MV_EXPAND`
|
|
|
|
preview::[]
|
|
|
|
The `MV_EXPAND` processing command expands multivalued columns into one row per
|
|
value, duplicating other columns.
|
|
|
|
**Syntax**
|
|
|
|
[source,esql]
|
|
----
|
|
MV_EXPAND column
|
|
----
|
|
|
|
*Parameters*
|
|
|
|
`column`::
|
|
The multivalued column to expand.
|
|
|
|
*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]
|
|
|===
|