snowflake.snowpark.functions.h3_int_to_string¶
- snowflake.snowpark.functions.h3_int_to_string(cell_id: Union[snowflake.snowpark.column.Column, str]) Column [source]¶
Converts an H3 cell ID from integer format to string format.
- Parameters:
cell_id (ColumnOrName) – The H3 cell ID as an integer.
- Returns:
The H3 cell ID as a hexadecimal string.
- Return type:
- Example::
>>> df = session.create_dataframe([617700171168612351], schema=["cell_id"]) >>> df.select(h3_int_to_string(df["cell_id"]).alias("result")).collect() [Row(RESULT='89283087033ffff')]