snowflake.snowpark.functions.h3_grid_path¶
- snowflake.snowpark.functions.h3_grid_path(cell_id_1: Union[snowflake.snowpark.column.Column, str], cell_id_2: Union[snowflake.snowpark.column.Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.45.0/src/snowflake/snowpark/_functions/scalar_functions.py#L1791-L1816)¶
Returns the grid path between two H3 cell IDs as a JSON array of H3 cell IDs.
- Parameters:
cell_id_1 (ColumnOrName) – The starting H3 cell ID.
cell_id_2 (ColumnOrName) – The ending H3 cell ID.
- Returns:
A JSON array of H3 cell IDs representing the grid path.
- Return type:
Examples: