fn build_grouping_fields(
expression_sets: &[Vec<Expression>],
) -> (Vec<Grouping>, Vec<Expression>)Expand description
Deduplicates expressions across all sets and produces the AggregateRel’s protobuf fields: a flat deduplicated expression list and per-set Grouping messages with index references into that list.