datafusion_physical_plan::sorts::sort

Function sort_batch

Source
pub fn sort_batch(
    batch: &RecordBatch,
    expressions: LexOrderingRef<'_>,
    fetch: Option<usize>,
) -> Result<RecordBatch>