H3_NUM_HEXAGONS

Learn how to use the H3_NUM_HEXAGONS utility function in PlaidCloud Lakehouse. Returns the number of unique H3 indexes at the given resolution.

Returns the number of unique H3 indexes at the given resolution.

Analyze Syntax

func.h3_num_hexagons(res)

Analyze Examples

func.h3_num_hexagons(10)

┌──────────────────────────┐
 func.h3_num_hexagons(10) 
├──────────────────────────┤
              33897029882 
└──────────────────────────┘

SQL Syntax

H3_NUM_HEXAGONS(res)

SQL Examples

SELECT H3_NUM_HEXAGONS(10);

┌─────────────────────┐
 h3_num_hexagons(10) 
├─────────────────────┤
         33897029882 
└─────────────────────┘