private void cleanTempTableDir(Table table) throws MetaException {
    wh.deleteDir(new Path(table.getSd().getLocation()), true, false, false);
  }
Test class for exchange partitions related methods on temporary tables.
ql/src/test/org/apache/hadoop/hive/ql/metadata/TestSessionHiveMetastoreClientExchangePartitionsTempTable.java