Function deltalake::datafusion::physical_expr::utils::split_disjunction

source ·
pub fn split_disjunction(
    predicate: &Arc<dyn PhysicalExpr>
) -> Vec<&Arc<dyn PhysicalExpr>>
Expand description

Assume the predicate is in the form of DNF, split the predicate to a Vec of PhysicalExprs.

For example, split “a1 = a2 OR b1 <= b2 OR c1 != c2” into [“a1 = a2”, “b1 <= b2”, “c1 != c2”]