Function datafusion_physical_expr::utils::split_conjunction

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

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

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