datafusion_common::utils

Function merge_and_order_indices

Source
pub fn merge_and_order_indices<T: Borrow<usize>, S: Borrow<usize>>(
    first: impl IntoIterator<Item = T>,
    second: impl IntoIterator<Item = S>,
) -> Vec<usize>
Expand description

Merges collections first and second, removes duplicates and sorts the result, returning it as a Vec.