@Override
  public org.apache.hadoop.hive.metastore.api.Table getTranslateTableDryrun(
      org.apache.hadoop.hive.metastore.api.Table tbl) throws TException {
    if (tbl.isTemporary()) {
      org.apache.hadoop.hive.metastore.api.Table table = getTempTable(tbl.getDbName(), tbl.getTableName());
      return table != null ? deepCopy(table) : tbl;
    }
    return super.getTranslateTableDryrun(tbl);
  }
Wrapper to create a cache around a Map.
ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java