datafusion_optimizer::utils

Function is_restrict_null_predicate

Source
pub fn is_restrict_null_predicate<'a>(
    predicate: Expr,
    join_cols_of_predicate: impl IntoIterator<Item = &'a Column>,
) -> Result<bool>
Expand description

Determine whether a predicate can restrict NULLs. e.g. c0 > 8 return true; c0 IS NULL return false.