try_unwrap_cast_comparison

Function try_unwrap_cast_comparison 

Source
fn try_unwrap_cast_comparison(
    inner_expr: Arc<dyn PhysicalExpr>,
    literal_value: &ScalarValue,
    op: Operator,
    schema: &Schema,
) -> Result<Option<Arc<dyn PhysicalExpr>>>
Expand description

Try to unwrap a cast in comparison by moving the cast to the literal