presto-main/src/main/java/io/prestosql/execution/SqlTaskExecution.java/SqlTaskExecution/noMoreSplits
class SqlTaskExecution:        public void noMoreSplits()
        {
            if (state == ADDING_SPLITS) {
                state = NO_MORE_SPLITS;
            }
        }