Skip to main content

matching_site

Function matching_site 

Source
fn matching_site(
    node: &NativeNode,
) -> Option<(&NativeNode, &NativeNode, &MatchingLabels)>
Expand description

The vector/vector match this tree performs, looking through the pointwise nodes wrapped on top.

A match pairs series of two whole vectors, so where it sits — including under a scalar broadcast or a pointwise wrapper — is the place that needs matching-key co-location. The scalar side has to be a value that reads no source for that to hold: a scalar-output side that read a whole vector (scalar(c)) only exists once every series of it is gathered, so a match under it is not the unit of locality and the tree needs one partition instead. Answering None here leaves that decision to reads_across_series.