fn aggregate_reads_histogram(node: &NativeNode, input_kind: FieldKind) -> boolExpand description
Whether any aggregate in node consumes histogram samples, wherever it sits in the tree.
The walk asks each aggregate what kind enters it rather than what the tree’s root answers,
because an operator above an aggregate hides it: sum(h) * 2 has a binary root. Only a
histogram entering an aggregate that would fold its payload is refused; a float-producing prefix
such as count_over_time over a histogram stays eligible, and so does an aggregate that skips the
sample instead of folding it.