dropTableDesc dropTbl = work.getDropTblDesc();
if (dropTbl != null) {
if(dropTbl.getPartSpecs() == null) {
// drop the table
db.dropTable(dropTbl.getTableName());
} else {
// drop partitions in the list
Table tbl = db.getTable(dropTbl.getTableName());
List<Partition> parts = new ArrayList<Partition>();
for(HashMap<String, String> partSpec : dropTbl.getPartSpecs()) {