seconds_as_i32

Function seconds_as_i32 

Source
fn seconds_as_i32(array: &dyn Array, unit: TimeUnit) -> Result<ArrayRef>
Expand description

Invoke [date_part] on an array (e.g. Timestamp) and convert the result to a total number of seconds, milliseconds, microseconds or nanoseconds