fn binds_histogram_state_anywhere(node: &NativeNode) -> boolExpand 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.