SQL Rewrite Stories— 2x Perf with a Projection after Aggregation

This series about query rewrites for OLAP SQL engines and in this article we look at a case of a simple query with a group-by and a…