Skip to main content

make_lex_ordering

Function make_lex_ordering 

Source
pub fn make_lex_ordering(
    schema: &Arc<Schema>,
    output_ordering: &[ScanSortColumn],
) -> Result<Option<LexOrdering>, DataFusionError>
Expand description

Builds the LexOrdering declaring the already-satisfied output ordering of the scan, matching DataFusion’s default ORDER BY semantics (ASC NULLS LAST unless descending).