pub(crate) fn merge_raw_identity_charging(
schema: &SeriesSchema,
chunks: &[RawSeriesChunk],
reserve: &mut dyn FnMut(usize) -> Result<(), DataFusionError>,
shrink: &mut dyn FnMut(usize),
) -> Result<RawSeriesChunk, DataFusionError>Expand description
Rebuilds one raw series from every piece of one complete physical identity, reporting each allocation before it happens.
Reconstruction holds three intermediate vectors whose sizes depend on how the pieces interleave,
so what it needs cannot be known up front. The caller charges reserve as the work grows
instead of reserving a worst case it may never reach.