Eng 6591 partial aggregate

Ugly name. Suggest: getPartialGroupByColumns.