@Before
  public void before() throws Exception {
    PartitionUtil.createPartitionedTable(db, catName, dbName, tableName);
    table = db.getTable(catName, dbName, tableName);
    repairOutput = new ArrayList<String>();
  }
Unit test for function dropPartitionsInBatches in DDLTask.
ql/src/test/org/apache/hadoop/hive/ql/exec/TestMsckDropPartitionsInBatches.java