presto-main/src/main/java/io/prestosql/operator/project/MergingPageOutput.java/MergingPageOutput/flush
class MergingPageOutput:    private void flush()
    {
        if (!pageBuilder.isEmpty()) {
            Page output = pageBuilder.build();
            pageBuilder.reset();
            outputQueue.add(output);
        }
    }