revert this function back to insertToAggResultColumns