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]¶
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: