QUANTILE

    Aggregate functions

    Syntax

    QUANTILE( value, quant )
    

    Description

    Returns the precise value-level quantile (value should be in range from 0 to 1).

    Argument types:

    • valueNumber
    • quantAny

    Return type: Same type as (value, quant)

    Note

    Arguments (value, quant) must be of the same type.

    Data source support

    Materialized Dataset, ClickHouse 1.1.