DB
FunctionsStatistical

percentile_disc

Computes a discrete percentile from batch values and writes the selected order statistic to every output row.

percentile_disc(…) → Float64

Kind · scalar · aggregate

scalar — Computes a discrete percentile from batch values and writes the selected order statistic to every output row.

aggregate — Computes percentile as the first sorted value whose cumulative distribution reaches the requested fraction.

Part of the Statistical family.