Function datafusion::physical_expr::reverse_order_bys

source ·
pub fn reverse_order_bys(
    order_bys: &[PhysicalSortExpr]
) -> Vec<PhysicalSortExpr>
Expand description

Reverses the ORDER BY expression, which is useful during equivalent window expression construction. For instance, ‘ORDER BY a ASC, NULLS LAST’ turns into ‘ORDER BY a DESC, NULLS FIRST’.