snowflake.snowpark.functions.h3_grid_disk¶
- snowflake.snowpark.functions.h3_grid_disk(cell_id: Union[snowflake.snowpark.column.Column, str], k_value: Union[snowflake.snowpark.column.Column, str]) Column[source]¶
Returns an array of H3 cell IDs within k distance of the origin cell.
- Parameters:
cell_id (ColumnOrName) – The H3 cell ID as the center of the disk.
k_value (ColumnOrName) – The distance (number of rings) from the center cell.
- Returns:
An array of H3 cell IDs within the specified distance.
- Return type:
Example: