public static Set<String> findAliases(final MapWork work, Operator<?> startOp) {
    Set<String> aliases = new LinkedHashSet<String>();
    for (Operator<?> topOp : findTopOps(startOp, null)) {
      String alias = findAlias(work, topOp);
      if (alias != null) {
        aliases.add(alias);
      }
    }
    return aliases;
  }
Skip temporary file generation for:
1. MM Tables
2. INSERT operation on full ACID table
ql/src/java/org/apache/hadoop/hive/ql/optimizer/GenMapRedUtils.java