If the input group by columns has been sorted before the aggregation, we can enable stream aggregation, it is more efficient than HashAggregation.