mv_expand.asciidoc 346 B

12345678910111213141516
  1. [[esql-mv_expand]]
  2. === `MV_EXPAND`
  3. The `MV_EXPAND` processing command expands multivalued fields into one row per value, duplicating other fields:
  4. [source,esql]
  5. ----
  6. include::{esql-specs}/mv_expand.csv-spec[tag=simple]
  7. ----
  8. Which returns:
  9. [%header,format=dsv,separator=|]
  10. |===
  11. include::{esql-specs}/mv_expand.csv-spec[tag=simple-result]
  12. |===