@Override
  public boolean dropPartition(String catName, String dbName, String tableName, String partitionName,
      boolean deleteData) throws TException {
    org.apache.hadoop.hive.metastore.api.Table table = getTempTable(dbName, tableName);
    if (table == null) {
      return super.dropPartition(catName, dbName, tableName, partitionName, deleteData);
    }
    TempTable tt = getPartitionedTempTable(table);
    Partition droppedPartition = tt.dropPartition(partitionName);
    boolean result = droppedPartition != null ? true : false;
    if (deleteData && !tt.isExternal()) {
      result &= deletePartitionLocation(droppedPartition, true);
    }
    return result;
  }
@param partialPvals partition values, can be partial.  This really means that missing values
                   are represented by empty str.
@param maxParts maximum number of partitions to fetch, or -1 for all
ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java