snowflake.snowpark.functions.h3_compact_cells_strings¶
- snowflake.snowpark.functions.h3_compact_cells_strings(array_of_cell_ids: Union[snowflake.snowpark.column.Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.42.0/src/snowflake/snowpark/_functions/scalar_functions.py#L608-L631)¶
Returns a compacted array of H3 cell IDs by removing redundant cells that are covered by their parent cells at coarser resolutions.
- Parameters:
array_of_cell_ids (ColumnOrName) – An array of H3 cell ID strings to be compacted.
- Returns:
The compacted array of H3 cell ID strings.
- Return type:
Example: