PERCENTILE_HASH

Computes a percentile state from a numeric value.

Analyze Syntax

func.percentile_hash(<value>)

Analyze Examples

func.percentile_hash(42.5)

┌─────────┐
 (state)  
└─────────┘

SQL Syntax

PERCENTILE_HASH(<value>)

SQL Examples

SELECT PERCENTILE_HASH(42.5);

┌────────────────────┐
 (percentile state)  
└────────────────────┘