daft.Expression.partitioning.iceberg_truncate

daft.Expression.partitioning.iceberg_truncate#

Expression.partitioning.iceberg_truncate(w: int) Expression[source]#

Partitioning Transform that truncates the input to a standard width w following the Iceberg Specification. https://iceberg.apache.org/spec/#truncate-transform-details

Parameters:

w (int) – width of the truncation

Returns:

Expression of the Same Type of the input

Return type:

Expression