fn map_chunk(
schema: &Arc<SeriesSchema>,
chunk: &EvaluatedChunk,
ops: &[MapOp],
admit: &mut dyn FnMut(usize) -> Result<()>,
) -> Result<Option<EvaluatedChunk>>Expand description
Maps one chunk with ops, keeping its axis and its closing.
Mapping is point-wise over valued positions: a float chunk keeps the rows it came with under math, a
chunk holding native histograms loses the rows only histograms filled, and a histogram function keeps
only the rows histograms filled. None means the operation emptied every position, which yields no
chunk at all unless this chunk closed its series: a closing chunk is still handed over, holding no
position.
admit is handed the bytes a label change can write before the change builds them; an error from it
stops the map.