snowflake.snowpark.functions.bucket¶
- snowflake.snowpark.functions.bucket(num_buckets: Union[int, Column, str], col: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.48.0/src/snowflake/snowpark/functions.py#L4737-L4762)¶
Performs an Iceberg partition bucket transform. This function should only be used in the iceberg_config[‘partition_by’] parameter when creating Iceberg tables.
Example: