Skip to main content

precompile_date_units

Function precompile_date_units 

Source
fn precompile_date_units<F>(
    e: &mut MirScalarExpr,
    column_types: &[ReprColumnType],
    build_unary: F,
)
Expand description

Specializes a binary date/time function call whose units argument is a literal string. Produces either a unary call with the parsed units baked in, or a literal UnknownUnits error.