Skip to main content

map_preserves_partition_identity

Function map_preserves_partition_identity 

Source
fn map_preserves_partition_identity(
    input: &NativeNode,
    op: &BoundMap,
    labels: Option<&StoredSeriesLabels>,
) -> bool
Expand description

Whether a point-wise map keeps every series it reads apart, given what the scan states.

A math kernel drops the metric name and a histogram kernel drops the name alone, so both need the proof a name-dropping window needs. A label rewrite writes a destination of its own: a label no series carries cannot make two of them equal, so writing one keeps them apart, while writing a label some series carries - or a metadata label, __name__ among them - can fold two series into one label set. None when the input’s labels are not derivable, because a destination that may already be carried proves nothing.