return null;
}
// Only partial aggregation can flush early. Also, check that we are not flushing tiny bits at a time
if (!finishing && step != Step.PARTIAL) {
throw new ExceededMemoryLimitException(memoryManager.getMaxMemorySize());
}
outputIterator = aggregationBuilder.build();
aggregationBuilder = null;