Skip to main content

H3_NUM_HEXAGONS

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

Syntax

H3_NUM_HEXAGONS(res)

Examples

SELECT H3_NUM_HEXAGONS(10);

┌─────────────────────┐
│ h3_num_hexagons(10)
├─────────────────────┤
33897029882
└─────────────────────┘
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today