Applies to: Databricks SQL Databricks Runtime 11.2 and above
Converts the input H3 cell ID to its equivalent hexadecimal string representation.
A value of type STRING. The returned result is the big-endian hexadecimal representation of the input BIGINT with any leading zeros stripped.
The function returns NULL if the input is NULL.
The function converts the BIGINT to its corresponding hexadecimal string.
The function does partial validation regarding whether the input argument is a valid H3 cell ID. A necessary, but not sufficient condition for a valid H3 ID is that its value is between
The behavior of the function is undefined if the input cell ID is not a valid cell ID.
If the value of
h3CellIdExprof is smaller than
0x08001fffffffffffor larger than
0x08ff3b6db6db6db6, the function returns H3_INVALID_CELL_ID.