public Path getDefaultPartitionPath(Database db, Table table,
      Map<String, String> pm) throws MetaException {
    return getPartitionPath(getDefaultTablePath(db, table), pm);
  }
Returns the default partition path of a table within a given database and partition key value
pairs. It uses the database location and appends it the table name and the partition key,value
pairs to create the Path for the partition directory

@param db - parent database which is used to get the base location of the partition directory
@param table - table for the partitions
@param pm - Partition key value pairs
@return
@throws MetaException
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/Warehouse.java