datafusion_expr::utils

Function generate_sort_key

Source
pub fn generate_sort_key(
    partition_by: &[Expr],
    order_by: &[Sort],
) -> Result<Vec<(Sort, bool)>>
Expand description

Generate a sort key for a given window expr’s partition_by and order_by expr