Skip to main content

extract_normalization_target

Function extract_normalization_target 

Source
fn extract_normalization_target(
    expr: &Expr,
    schema: &DFSchemaRef,
) -> Result<Option<NormalizationTarget>>
Expand description

Returns the non-constant side we should normalize against.

Plain expressions normalize literals to their own type. Cast expressions only participate when the cast is lossless or when timestamp downcasts can be rewritten as wider source-side bounds.