mv_expand.asciidoc 526 B

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