elasticsearch/docs/reference/esql/functions/layout/mv_percentile.asciidoc
Iván Cea Fontenla 65ce50c60a
ESQL: Added mv_percentile function (#111749)
- Added the `mv_percentile(values, percentile)` function
- Used as a surrogate in the `percentile(column, percentile)` aggregation
- Updated docs to specify that the surrogate _should_ be implemented if possible

The same way as mv_median does, this yields exact results (Ignoring double operations error).
For that, some decisions were made, specially in the long evaluator (Check the comments in context in `MvPercentile.java`)

Closes https://github.com/elastic/elasticsearch/issues/111591
2024-08-20 15:29:19 +02:00

15 lines
455 B
Text
Generated

// This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
[discrete]
[[esql-mv_percentile]]
=== `MV_PERCENTILE`
*Syntax*
[.text-center]
image::esql/functions/signature/mv_percentile.svg[Embedded,opts=inline]
include::../parameters/mv_percentile.asciidoc[]
include::../description/mv_percentile.asciidoc[]
include::../types/mv_percentile.asciidoc[]
include::../examples/mv_percentile.asciidoc[]