// TODO: This functionality will be added later.
if (hashAggrConfig.getGroupByExprs().length == 0) {
throw new IllegalArgumentException("Currently, hash aggregation is only applicable if there are group-by expressions.");
}
this.htIdxHolder = new IndexPointer();
this.outStartIdxHolder = new IndexPointer();
this.outNumRecordsHolder = new IndexPointer();
materializedValueFields = new MaterializedField[valueFieldIds.size()];
if (valueFieldIds.size() > 0) {
int i = 0;