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

14 lines
274 B
Plaintext

[discrete]
[[esql-agg-max]]
=== `MAX`
The maximum value of a numeric field.
[source.merge.styled,esql]
----
include::{esql-specs}/stats.csv-spec[tag=max]
----
[%header.monospaced.styled,format=dsv,separator=|]
|===
include::{esql-specs}/stats.csv-spec[tag=max-result]
|===