snowflake.snowpark.functions.truncate¶
- snowflake.snowpark.functions.truncate(width: 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#L4765-L4790)¶
Performs an Iceberg partition truncate transform. This function should only be used in the iceberg_config[‘partition_by’] parameter when creating Iceberg tables.
Example: