datafusion_common::utils

Function compare_rows

Source
pub fn compare_rows(
    x: &[ScalarValue],
    y: &[ScalarValue],
    sort_options: &[SortOptions],
) -> Result<Ordering>
Expand description

This function compares two tuples depending on the given sort options.