pub fn combine_bernoullis(
op: &Operator,
left: &BernoulliDistribution,
right: &BernoulliDistribution,
) -> Result<BernoulliDistribution, DataFusionError>
Expand description
This function takes a logical operator and two Bernoulli distributions,
and it returns a new Bernoulli distribution that represents the result of
the operation. Currently, only AND
and OR
operations are supported.