elasticsearch/docs/reference/esql/functions/mv_count.asciidoc

22 lines
491 B
Plaintext

[discrete]
[[esql-mv_count]]
=== `MV_COUNT`
[.text-center]
image::esql/functions/signature/mv_count.svg[Embedded,opts=inline]
Converts a multivalued field into a single valued field containing a count of the number
of values:
[source.merge.styled,esql]
----
include::{esql-specs}/string.csv-spec[tag=mv_count]
----
[%header.monospaced.styled,format=dsv,separator=|]
|===
include::{esql-specs}/string.csv-spec[tag=mv_count-result]
|===
Supported types:
include::types/mv_count.asciidoc[]