Function datafusion_common::bisect::bisect
source · [−]pub fn bisect<const SIDE: bool>(
item_columns: &[ArrayRef],
target: &[ScalarValue],
sort_options: &[SortOptions]
) -> Result<usize>
Expand description
This function implements both bisect_left and bisect_right, having the same semantics with the Python Standard Library. To use bisect_left, supply true as the template argument. To use bisect_right, supply false as the template argument.