123456789101112131415161718 |
- [[esql-mv_sum]]
- === `MV_SUM`
- Converts a multivalued field into a single valued field containing the sum
- of all of the values. For example:
- [source,esql]
- ----
- include::{esql-specs}/math.csv-spec[tag=mv_sum]
- ----
- Returns:
- [%header,format=dsv,separator=|]
- |===
- include::{esql-specs}/math.csv-spec[tag=mv_sum-result]
- |===
- NOTE: The input type can be any number and the output type is the same as the input type.
|