presto-main/src/main/java/io/prestosql/operator/MarkDistinctOperator.java/MarkDistinctOperator/finish
class MarkDistinctOperator:    @Override
    public void finish()
    {
        finishing = true;
    }