@Before
  public void setUp() throws Exception {
    initHiveConf();
    SessionState.start(conf);
    super.setClient(Hive.get(conf).getMSC());
    getClient().dropDatabase(DB_NAME, true, true, true);
  }
Test class for get partitions related methods on temporary tables.
ql/src/test/org/apache/hadoop/hive/ql/metadata/TestSessionHiveMetastoreClientGetPartitionsTempTable.java