fn seconds(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
Given epoch return f64, this is a duplicated function to optimize for f64 type