

SET optimize_use_projections=1, optimize_aggregation_in_order=1, force_optimize_projection=1;

SET optimize_use_projections=1, optimize_aggregation_in_order=1, force_optimize_projection = 1;
