Grouped output rows keep the key next to aggregate values.
highlighted = computed this step
Group key plus aggregate
A grouped output row keeps the group key next to its aggregate values.
key plus facts
Show both aggregates
There are 2 aggregate columns across 3 output groups.
aggregates=2
Grouping examples are tiny finite table transforms; SQL dialects, NULLs, AVG/rounding, planner behavior, indexes, performance, and product behavior are out of scope.
Read the output rows
Each output row is a key with its recomputed count and sum.
grouped row
Summary
The output is not a copy of an input row; it is built from a bucket.