mito2::memtable::partition_tree::partition

Function data_batch_to_batch

Source
fn data_batch_to_batch(
    metadata: &RegionMetadataRef,
    projection: &HashSet<ColumnId>,
    key: Option<&[u8]>,
    data_batch: DataBatch<'_>,
) -> Result<Batch>
Expand description

Converts a DataBatch to a Batch.