public static String findAlias(MapWork work, Operator<?> operator) {
    for (Entry<String, Operator<?>> entry : work.getAliasToWork().entrySet()) {
      if (entry.getValue() == operator) {
        return entry.getKey();
      }
    }
    return null;
  }
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