mv_expand.asciidoc 511 B

12345678910111213141516171819202122232425262728293031
  1. [discrete]
  2. [[esql-mv_expand]]
  3. === `MV_EXPAND`
  4. preview::[]
  5. The `MV_EXPAND` processing command expands multivalued columns into one row per
  6. value, duplicating other columns.
  7. **Syntax**
  8. [source,esql]
  9. ----
  10. MV_EXPAND column
  11. ----
  12. *Parameters*
  13. `column`::
  14. The multivalued column to expand.
  15. *Example*
  16. [source.merge.styled,esql]
  17. ----
  18. include::{esql-specs}/mv_expand.csv-spec[tag=simple]
  19. ----
  20. [%header.monospaced.styled,format=dsv,separator=|]
  21. |===
  22. include::{esql-specs}/mv_expand.csv-spec[tag=simple-result]
  23. |===