Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 973 Bytes

percentileestmv.md

File metadata and controls

48 lines (33 loc) · 973 Bytes
description
This section contains reference documentation for the PERCENTILEESTMV function.

PERCENTILEESTMV

Returns the Nth percentile of the group using Quantile Digest algorithm.

Signature

PERCENTILEESTMV(colName, N)

Usage Examples

These examples are based on the Hybrid Quick Start.

select PERCENTILEESTMV(DivLongestGTimes, 50) AS value
from airlineStats 
where arraylength(DivLongestGTimes) > 1
value
10
select PERCENTILEESTMV(DivLongestGTimes, 90) AS value
from airlineStats 
where arraylength(DivLongestGTimes) > 1
value
44
select PERCENTILEESTMV(DivLongestGTimes, 99.9) AS value
from airlineStats 
where arraylength(DivLongestGTimes) > 1
value
108