presto-main/src/main/java/io/prestosql/operator/TableWriterOperator.java/TableWriterOperatorFactory/noMoreOperators
class TableWriterOperatorFactory:        @Override
        public void noMoreOperators()
        {
            closed = true;
        }