Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 796 Bytes

percentileest.md

File metadata and controls

42 lines (30 loc) · 796 Bytes
description
This section contains reference documentation for the percentileest function.

percentileest

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

Signature

percentileest(colName, percentile)

Usage Examples

These examples are based on the Batch Quick Start.

select percentileest(homeRuns, 50) AS value
from baseballStats 
value
0
select percentileest(homeRuns, 80) AS value
from baseballStats 
value
4
select percentileest(homeRuns, 99.9) AS value
from baseballStats 
value
46