Skip to main content

STRING_TO_H3

Converts the string representation to H3 (uint64) representation.

Syntax

STRING_TO_H3(h3)

Examples

SELECT STRING_TO_H3('8d11aa6a38826ff');

┌─────────────────────────────────┐
│ string_to_h3('8d11aa6a38826ff')
├─────────────────────────────────┤
635318325446452991
└─────────────────────────────────┘
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