snowflake.snowpark.functions.h3_compact_cells¶
- snowflake.snowpark.functions.h3_compact_cells(array_of_cell_ids: Union[snowflake.snowpark.column.Column, str]) Column[source]¶
Returns a compacted array of H3 cell IDs by merging cells at the same resolution into their parent cells when possible.
- Parameters:
array_of_cell_ids (ColumnOrName) – An array of H3 cell IDs to be compacted.
- Returns:
An array of compacted H3 cell IDs.
- Return type:
- Example::