mz_expr::scalar::func

Function date_part_timestamp

Source
fn date_part_timestamp<'a, T, D>(
    a: Datum<'a>,
    ts: &T,
) -> Result<Datum<'a>, EvalError>
where T: TimestampLike, D: DecimalLike + Into<Datum<'a>>,