Function datafusion_common::utils::set_difference

source ยท
pub fn set_difference<T: Borrow<usize>, S: Borrow<usize>>(
    first: impl IntoIterator<Item = T>,
    second: impl IntoIterator<Item = S>,
) -> Vec<usize>
Expand description

Calculates the set difference between sequences first and second, returning the result as a Vec. Preserves the ordering of first.