Function datafusion::logical_expr::utils::compare_sort_expr

source ·
pub fn compare_sort_expr(
    sort_expr_a: &Expr,
    sort_expr_b: &Expr,
    schema: &Arc<DFSchema>
) -> Ordering
Expand description

Compare the sort expr as PostgreSQL’s common_prefix_cmp(): https://github.com/postgres/postgres/blob/master/src/backend/optimizer/plan/planner.c