pub fn compare_sort_expr(
sort_expr_a: &Sort,
sort_expr_b: &Sort,
schema: &DFSchemaRef,
) -> 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