Skip to main content

sort_exprs

Function sort_exprs 

Source
pub fn sort_exprs(columns: &[ScanSortColumn]) -> Vec<Sort>
Expand description

Builds the DataFrame::sort expressions for columns, pairing each with !descending for asc so the logical sort matches the nulls_first: c.descending physical ordering make_lex_ordering declares below – the two must stay in lockstep or assert_ordering_satisfied stops matching the sort that was actually applied.