spark_connect_rs::functions

Function trunc

Source
pub fn trunc(col: impl Into<Column>, format: impl Into<Column>) -> Column
Expand description

Returns date truncated to the unit specified by the format.