Function datafusion::common::utils::find_indices
source ยท pub fn find_indices<T, S>(
items: &[T],
targets: impl IntoIterator<Item = S>,
) -> Result<Vec<usize>, DataFusionError>
Expand description
Find indices of each element in targets
inside items
. If one of the
elements is absent in items
, returns an error.