elasticsearch/docs/reference/esql/processing-commands/mv_expand.asciidoc
Abdon Pijpelink 76ab37b35d
[DOCS] Uniform formatting for ES|QL commands (#101728)
* Source commands

* Missing word

* Processing commands

* Apply suggestions from code review

Co-authored-by: Alexander Spies <alexander.spies@elastic.co>

* Review feedback

* Add sort detail for mv

* More review feedback

---------

Co-authored-by: Alexander Spies <alexander.spies@elastic.co>
2023-11-06 08:42:13 +01:00

31 lines
513 B
Text

[discrete]
[[esql-mv_expand]]
=== `MV_EXPAND`
**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]
|===