boolean isExternal() {
    return tTable.getParameters() != null && "true".equals(tTable.getParameters().get(EXTERNAL_PARAM));
  }
This stores partition information for a temp table.
ql/src/java/org/apache/hadoop/hive/ql/metadata/TempTable.java