Skip to main content

binds_histogram_state_anywhere

Function binds_histogram_state_anywhere 

Source
fn binds_histogram_state_anywhere(node: &NativeNode) -> bool
Expand description

Whether any aggregate in node binds a state that carries a native histogram.

Unlike aggregate_reads_histogram this asks what each aggregate keeps, not what enters it: a tree that folds a histogram anywhere in it needs the split (or nothing at all), because only the split’s state carries that fold across a partition boundary.