mito2::memtable::partition_tree::data

Function pk_index_array

Source
fn pk_index_array(batch: &RecordBatch) -> &UInt16Array
Expand description

Gets pk_index array from record batch.

ยงPanics

If pk index column is not the first column or the type is not UInt16Array.