public boolean isDeleteBranchOfUpdate(String dest) {
    if (!splitUpdate) {
      return false;
    }

    if (deleteBranchOfUpdateIdx > 0) {
      return dest.endsWith(Integer.toString(deleteBranchOfUpdateIdx - 1));
    }

    for (Context subContext : subContexts) {
      if (subContext.isDeleteBranchOfUpdate(dest)) {
        return true;
      }
    }

    return false;
  }
@param isHDFSCleanup the isHDFSCleanup to set
ql/src/java/org/apache/hadoop/hive/ql/Context.java