percentile_disc
Returns a percentile value based on a discrete distribution of the input column expr. If the exact percentile value cannot be found, this function returns the larger value between the two closest values.
This function is supported from v2.5 onwards.
Syntaxβ
PERCENTILE_DISC (expr, percentile)