presto-main/src/main/java/io/prestosql/execution/SqlTaskExecution.java/SqlTaskExecution/markAsCleanedUp
class SqlTaskExecution:        public void markAsCleanedUp()
        {
            checkState(splits.isEmpty());
            checkState(state == NO_MORE_SPLITS);
            state = FINISHED;
        }