Expand description
Records the SELECT-list interleaving of GROUP BY keys and aggregate expressions so the output-schema builder emits aggregate result columns in the user’s SELECT order rather than a hardcoded group-keys-first order.
Functions§
- compute_
output_ order - Walk
projectionin output order and classify each item as a GROUP BY key slot or an aggregate slot, producing the interleaving thatoutput_schemareplays to emit columns in SELECT-list order.