public static List<String> getPartValuesFromPartName(String partName)
      throws MetaException {
    LinkedHashMap<String, String> partSpec = Warehouse.makeSpecFromName(partName);
    List<String> values = new ArrayList<>();
    values.addAll(partSpec.values());
    return values;
  }
Makes a valid partition name.
@param partCols The partition columns
@param vals The partition values
@param defaultStr
   The default name given to a partition value if the respective value is empty or null.
@return An escaped, valid partition name.
@throws MetaException
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/Warehouse.java