Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 975 Bytes

percentiletdigestmv.md

File metadata and controls

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

PERCENTILETDIGESTMV

Returns the Nth percentile of the group using T-digest algorithm.

Signature

PERCENTILETDIGESTMV(colName, N)

Usage Examples

These examples are based on the Hybrid Quick Start.

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