assertEquals(1, parts.size());
Partition insertedPart = parts.get(0);
assertEquals(tbl.getSd().getLocation() + Path.SEPARATOR + partitionLocation,
insertedPart.getSd().getLocation());
client.dropPartition(dbName, tableName, insertedPart.getValues());
// add without location specified
AddPartitionDesc addPartition = new AddPartitionDesc(dbName, tableName, part1, null);
Task<DDLWork> task = TaskFactory.get(new DDLWork(addPartition), hiveConf);