% This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it. ### `PERCENTILE` is (usually) approximate [esql-percentile-approximate] :::{include} /reference/aggregations/_snippets/search-aggregations-metrics-percentile-aggregation-approximate.md ::: ::::{warning} `PERCENTILE` is also [non-deterministic](https://en.wikipedia.org/wiki/Nondeterministic_algorithm). This means you can get slightly different results using the same data. ::::