daft.functions.partition_days#
partition_days #
partition_days(expr: Expression) -> Expression
Partitioning Transform that returns the number of days since epoch (1970-01-01).
Unlike other temporal partitioning expressions, this expression is date type instead of int. This is to conform to the behavior of other implementations of Iceberg partition transforms.
Returns:
| Type | Description |
|---|---|
Expression | Date Expression |
Source code in daft/functions/partition.py
8 9 10 11 12 13 14 15 16 | |