Skip to main content

try_sort_primary_key_indices

Function try_sort_primary_key_indices 

Source
fn try_sort_primary_key_indices(
    batch: &DfRecordBatch,
) -> Result<Option<UInt32Array>>
Expand description

Sorts the known, non-null primary-key layout without comparing encoded keys for every row.

Returns None if the batch does not have the exact layout supported by this fast path.