Skip to main content

H3_GET_BASE_CELL

Returns the base cell number of the given H3 index.

Syntax​

H3_GET_BASE_CELL(h3)

Examples​

SELECT H3_GET_BASE_CELL(644325524701193974);

┌──────────────────────────────────────┐
│ h3_get_base_cell(644325524701193974) │
├──────────────────────────────────────┤
│ 8 │
└──────────────────────────────────────┘
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