Partition dropPartition(List<String> partVals) throws MetaException, NoSuchObjectException {
    String partName = makePartName(tTable.getPartitionKeys(), partVals);
    if (!parts.containsKey(partName)) {
      throw new NoSuchObjectException(
          "Partition with partition values " + Arrays.toString(partVals.toArray()) + " is not found.");
    }
    return parts.remove(partName);
  }
Remove a partition from the table.
@param partVals partition values, must be not null
@return the instance of the dropped partition, if the remove was successful, otherwise false
@throws MetaException partition with the provided partition values cannot be found.
ql/src/java/org/apache/hadoop/hive/ql/metadata/PartitionTree.java